From e32943363088035c04b63b54cbe5179c4f5cd527 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 24 Oct 2006 15:58:51 +0000 Subject: * win32/mkexports.rb, win32/resource.rb: use unique variable names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/resource.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win32/resource.rb') diff --git a/win32/resource.rb b/win32/resource.rb index cb62fb97c4..c7201bbeda 100644 --- a/win32/resource.rb +++ b/win32/resource.rb @@ -48,7 +48,7 @@ end [$ruby_name, CONFIG["EXEEXT"], 'VFT_APP', 'CUI', ruby_icon], [$rubyw_name, CONFIG["EXEEXT"], 'VFT_APP', 'GUI', rubyw_icon || ruby_icon], [$so_name, '.dll', 'VFT_DLL', 'DLL', dll_icons.join], -].each do |base, ext, type, desc, icons| +].each do |base, ext, type, desc, icon| open(base + '.rc', "w") { |f| f.binmode if /mingw/ =~ RUBY_PLATFORM @@ -58,7 +58,7 @@ end #include #endif -#{icons || ''} +#{icon || ''} VS_VERSION_INFO VERSIONINFO FILEVERSION #{fversion} PRODUCTVERSION #{fversion} -- cgit v1.2.3