diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-18 09:08:52 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-18 09:08:52 +0000 |
commit | 41d0ebf4660c74a92bfd9484bd3659d5367d2d76 (patch) | |
tree | f046d437bf3c46562223d3639ff5401297e3cd62 /ext | |
parent | 9f72c385f295637f8c7b3ed7a159cb7cfa9752ef (diff) |
1.2.2 PR1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb.in | 2 | ||||
-rw-r--r-- | ext/tk/lib/tkfont.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index ebbcf84d93..bb0e042371 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -409,7 +409,7 @@ def extmake(target) return if $nodynamic and not $static $objs = nil - $libs = PLATFORM =~ /cygwin32|beos|openstep|nextstep|rhapsody/ ? nil : "-lc" + $libs = PLATFORM =~ /cygwin|beos|openstep|nextstep|rhapsody/ ? nil : "-lc" $local_libs = nil # to be assigned in extconf.rb $CFLAGS = nil $LDFLAGS = nil diff --git a/ext/tk/lib/tkfont.rb b/ext/tk/lib/tkfont.rb index e0394dc880..421988aeca 100644 --- a/ext/tk/lib/tkfont.rb +++ b/ext/tk/lib/tkfont.rb @@ -90,7 +90,7 @@ class TkFont raise RuntimeError, "unknown option '-font'" end fnt = tk_split_simplelist(font_prop)[4] - if fnt == [] + if fnt == "" TkFont.new(nil, nil).call_font_configure(path, *(args + [{}])) else begin |