summaryrefslogtreecommitdiffstats
path: root/ext/win32ole/win32ole.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-23 12:36:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-23 12:36:51 +0000
commit5180e08bf7c272453663480f8d9b93fe707a7021 (patch)
tree9439e729e218ee236ab642e479c5a1c0b02db5f8 /ext/win32ole/win32ole.c
parentf24162392d24434f0012cff26c9d5250ea94c482 (diff)
downloadruby-5180e08bf7c272453663480f8d9b93fe707a7021.tar.gz
ruby-5180e08bf7c272453663480f8d9b93fe707a7021.tar.xz
ruby-5180e08bf7c272453663480f8d9b93fe707a7021.zip
* ext/win32ole/win32ole.c (ole_init_cp): should return value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole.c')
-rw-r--r--ext/win32ole/win32ole.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 15f8e7ea2..569fdd0ca 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -848,6 +848,7 @@ ole_init_cp()
if (code_page_installed(cp)) {
cWIN32OLE_cp = cp;
}
+ return cp;
}
struct myCPINFOEX {