summaryrefslogtreecommitdiff
path: root/ext/dl/lib
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
commit4a464c1fa244d5f04062fe6547eff211d76c8bc9 (patch)
tree0bddf3b588397ec6ef533a488012826d93e47e17 /ext/dl/lib
parent79847e0b363ae7607cdd00355b20347b91b0ceec (diff)
* typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib')
-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 8077656ab3a..92f473d392d 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