summaryrefslogtreecommitdiffstats
path: root/ext/Win32API
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-28 02:45:23 +0000
commit8db23b37400493071ce7599f90474f6ea1a26761 (patch)
tree7e5d3b3352dbd38446002315e32d41f271167573 /ext/Win32API
parent8c4118a72a4ac2872b1ad722d59b2231c563b6a7 (diff)
downloadruby-8db23b37400493071ce7599f90474f6ea1a26761.tar.gz
ruby-8db23b37400493071ce7599f90474f6ea1a26761.tar.xz
ruby-8db23b37400493071ce7599f90474f6ea1a26761.zip
* exception error messages updated. [ruby-core:04497]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/Win32API')
-rw-r--r--ext/Win32API/Win32API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Win32API/Win32API.c b/ext/Win32API/Win32API.c
index 776df56ec..be07b8504 100644
--- a/ext/Win32API/Win32API.c
+++ b/ext/Win32API/Win32API.c
@@ -160,7 +160,7 @@ Win32API_Call(argc, argv, obj)
if (items != nimport)
- rb_raise(rb_eRuntimeError, "Wrong number of parameters: expected %d, got %d.\n",
+ rb_raise(rb_eRuntimeError, "wrong number of parameters: expected %d, got %d",
nimport, items);
for (i = 0; i < nimport; i++) {