about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-15 21:56:41 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-15 21:56:41 +0000
commitc9fc0e2228473b03cad1f5d6e3dfb52446b24ec7 (patch)
tree14738ff9c698dec21e27c506f47051f0adeb8d33 /iconvdata
parente3e0a182a7dd19c9e5186d5f5963f584b0eb373a (diff)
downloadglibc-c9fc0e2228473b03cad1f5d6e3dfb52446b24ec7.tar.gz
glibc-c9fc0e2228473b03cad1f5d6e3dfb52446b24ec7.tar.xz
glibc-c9fc0e2228473b03cad1f5d6e3dfb52446b24ec7.zip
Update.
1998-05-15  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
	point to output buffer.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/iso-2022-kr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c
index cb02cc9bf2..166fa15072 100644
--- a/iconvdata/iso-2022-kr.c
+++ b/iconvdata/iso-2022-kr.c
@@ -28,7 +28,7 @@
 /* This makes obvious what everybody knows: 0x1b is the Esc character.  */
 #define ESC	0x1b
 
-/* The shift sequences for this charset (we it does not use ESC).  */
+/* The shift sequences for this charset (it does not use ESC).  */
 #define SI	0x0f
 #define SO	0x0e
 
@@ -48,13 +48,13 @@
   if (!FROM_DIRECTION && !data->internal_use && data->invocation_counter == 0)\
     {									      \
       /* Emit the designator sequence.  */				      \
-      if (outptr + 4 > outend)						      \
+      if (outbuf + 4 > outend)						      \
 	return GCONV_FULL_OUTPUT;					      \
 									      \
-      *outptr++ = '\x1b';						      \
-      *outptr++ = '\x24';						      \
-      *outptr++ = '\x29';						      \
-      *outptr++ = '\x43';						      \
+      *outbuf++ = ESC;							      \
+      *outbuf++ = '$';							      \
+      *outbuf++ = ')';							      \
+      *outbuf++ = 'C';							      \
     }
 #define EXTRA_LOOP_ARGS		, set