From 3486311d540ba65e591a0fb54fc2acfb02c7f8dd Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 21 Dec 2007 16:11:39 +0000 Subject: [PATCH] * ext/tk/sample/tkextlib/vu/canvSticker2.rb, ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/tk/sample/demos-en/bind.rb | 12 ++++++------ ext/tk/sample/demos-jp/bind.rb | 12 ++++++------ ext/tk/sample/tkextlib/vu/canvSticker2.rb | 4 ++-- 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70779f5d5d..f3eb10e7d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Dec 22 01:10:30 2007 NAKAMURA Usaku + + * ext/tk/sample/tkextlib/vu/canvSticker2.rb, + ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668] + Sat Dec 22 00:56:43 2007 Yukihiro Matsumoto * sample/test.rb (valid_syntax): force_encoding input script. diff --git a/ext/tk/sample/demos-en/bind.rb b/ext/tk/sample/demos-en/bind.rb index 6faeeaa30c..b7e7122c57 100644 --- a/ext/tk/sample/demos-en/bind.rb +++ b/ext/tk/sample/demos-en/bind.rb @@ -94,27 +94,27 @@ TkText.new($bind_demo){|t| } d1.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'items.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'items.rb'].join(File::Separator)}`) }) d2.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'plot.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'plot.rb'].join(File::Separator)}`) }) d3.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'ctext.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'ctext.rb'].join(File::Separator)}`) }) d4.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'arrow.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'arrow.rb'].join(File::Separator)}`) }) d5.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'ruler.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'ruler.rb'].join(File::Separator)}`) }) d6.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'cscroll.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'cscroll.rb'].join(File::Separator)}`) }) TkTextMarkInsert.new(t, '0.0') diff --git a/ext/tk/sample/demos-jp/bind.rb b/ext/tk/sample/demos-jp/bind.rb index af4e04fe8d..87b39721d1 100644 --- a/ext/tk/sample/demos-jp/bind.rb +++ b/ext/tk/sample/demos-jp/bind.rb @@ -92,27 +92,27 @@ TkText.new($bind_demo){|t| } d1.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'items.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'items.rb'].join(File::Separator)}`) }) d2.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'plot.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'plot.rb'].join(File::Separator)}`) }) d3.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'ctext.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'ctext.rb'].join(File::Separator)}`) }) d4.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'arrow.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'arrow.rb'].join(File::Separator)}`) }) d5.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'ruler.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'ruler.rb'].join(File::Separator)}`) }) d6.bind('1', proc{ - eval_samplecode(`cat #{[$demo_dir,'cscroll.rb'].join(File::Separator)\}`) + eval_samplecode(`cat #{[$demo_dir,'cscroll.rb'].join(File::Separator)}`) }) TkTextMarkInsert.new(t, '0.0') diff --git a/ext/tk/sample/tkextlib/vu/canvSticker2.rb b/ext/tk/sample/tkextlib/vu/canvSticker2.rb index 34daf9ae3b..548a72c2cb 100644 --- a/ext/tk/sample/tkextlib/vu/canvSticker2.rb +++ b/ext/tk/sample/tkextlib/vu/canvSticker2.rb @@ -23,10 +23,10 @@ c.destroy #sti_conf = [ [10, 10, 180, 180], "Sticker äöüß@²³¼½¾", :center ] #txt_conf = [ [210, 210], "Text äöüß@²³¼½¾", :center ] sti_conf = [ [10, 10, 350, 350], - Tk::UTF8_String('Sticker \u00E4\u00F6\u00FC\u00DF\u0040\u00B2\u00B3\u00BC\u00BD\\u00BE') + Tk::UTF8_String('Sticker \u00E4\u00F6\u00FC\u00DF\u0040\u00B2\u00B3\u00BC\u00BD\u00BE'), :center ] txt_conf = [ [250, 250], - Tk::UTF8_String('Text \u00E4\u00F6\u00FC\u00DF\u0040\u00B2\u00B3\u00BC\u00BD\\u00BE') + Tk::UTF8_String('Text \u00E4\u00F6\u00FC\u00DF\u0040\u00B2\u00B3\u00BC\u00BD\u00BE'), :center ] #p sti_conf