Fix a few more where we need to specify number of TCHARs rather than sizeof buffer

This commit is contained in:
Doug MacEachern committed 2007-11-15 21:48:24 +00:00
1 parent 2fd3beab06
commit f448bae54e
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ JNIEXPORT jstring SIGAR_JNI(win32_LocaleInfo_getAttribute)
int retval =
GetLocaleInfo(lcid,
attr,
value, sizeof(value));
value, sizeof(value) / sizeof(TCHAR));
if (retval) {
int len = lstrlen(value);