aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/win32ole/win32ole.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ad35bd0983..f1d2cd6c13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Feb 23 21:36:13 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/win32ole/win32ole.c (ole_init_cp): should return value.
+
Sat Feb 23 20:16:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (str_sublen): removed.
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 15f8e7ea24..569fdd0ca5 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 {