summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-20 10:22:04 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-20 10:22:04 +0000
commit07823af2005ae1fa3f19ff5b6fc9c57dcc71e6ca (patch)
tree0bddf3b588397ec6ef533a488012826d93e47e17
parentc3e009c3bb8d5d92069c8c8ca691966b5ffbd77e (diff)
downloadruby-07823af2005ae1fa3f19ff5b6fc9c57dcc71e6ca.tar.gz
ruby-07823af2005ae1fa3f19ff5b6fc9c57dcc71e6ca.tar.xz
ruby-07823af2005ae1fa3f19ff5b6fc9c57dcc71e6ca.zip
* typo fix.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/dl/lib/dl/win32.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/win32.rb b/ext/dl/lib/dl/win32.rb
index 8077656ab..92f473d39 100644
--- a/ext/dl/lib/dl/win32.rb
+++ b/ext/dl/lib/dl/win32.rb
@@ -12,7 +12,7 @@ class Win32API
end
def call(*args)
- import = @sym.split("", 2)[1]
+ import = @sym.proto.split("", 2)[1]
args.each_with_index do |x, i|
args[i] = nil if x == 0 and import[i] == ?S
args[i], = [x].pack("I").unpack("i") if import[i] == ?I