From 832b1e88f5845b461a0cd48db8d7ecd940581193 Mon Sep 17 00:00:00 2001 From: nagai Date: Thu, 16 Dec 2004 07:32:01 +0000 Subject: * ext/tk/sample/demos-en/widget: modify version check for supporting features git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/tk/sample/demos-en/widget | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f412a63b82..be2561e84e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 16 16:29:44 2004 Hidetoshi NAGAI + + * ext/tk/sample/demos-en/widget: modify version check for + supporting features + Thu Dec 16 16:03:50 2004 Hidetoshi NAGAI * ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667] diff --git a/ext/tk/sample/demos-en/widget b/ext/tk/sample/demos-en/widget index 9d970435ae..9df91c467b 100644 --- a/ext/tk/sample/demos-en/widget +++ b/ext/tk/sample/demos-en/widget @@ -492,9 +492,9 @@ end if $tk_major_ver < 8 alias showVars showVars1 -elsif $tk_major_ver == 8 && $tk_minor_ver < 5 +elsif $tk_major_ver == 8 && $tk_minor_ver < 4 alias showVars showVars1 -else # ver >= 8.5 +else # ver >= 8.4 alias showVars showVars2 end @@ -692,9 +692,9 @@ end if $tk_major_ver < 8 alias showCode showCode1 -elsif $tk_major_ver == 8 && $tk_minor_ver < 5 +elsif $tk_major_ver == 8 && $tk_minor_ver < 4 alias showCode showCode1 -else # ver >= 8.5 +else # ver >= 8.4 alias showCode showCode2 end -- cgit v1.2.3