aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:34:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 14:34:51 +0000
commit0f064d27b3ab4e4bee96c19313c6fe1480972f24 (patch)
treec59ca6badbc550786c28c8757917a30337037a1f
parent0c395fbd904ccc5cb100e6654af7c771f1123e41 (diff)
downloadruby-0f064d27b3ab4e4bee96c19313c6fe1480972f24.tar.gz
* transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--transcode_data_japanese.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c5106fced3..53aca09d10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 24 23:32:24 2007 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * transcode_data_japanese.c (select_iso_2022_mode): '\e' is not valid.
+
Mon Dec 24 23:13:09 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/rdoc/diagram.rb (RDoc::Diagram#initialize): use fileuitls
diff --git a/transcode_data_japanese.c b/transcode_data_japanese.c
index 223d1586e3..860b824221 100644
--- a/transcode_data_japanese.c
+++ b/transcode_data_japanese.c
@@ -23754,7 +23754,7 @@ static int
select_iso_2022_mode(char **out_pos, int new_mode)
{
char *out_p = *out_pos;
- *out_p++ = '\e';
+ *out_p++ = '\x1b';
switch (new_mode>>8)
{
case ISO_2022_GZD4: