Fix a few more where we need to specify number of TCHARs rather than sizeof buffer
This commit is contained in:
1 parent
2fd3beab06
commit
f448bae54e
4 files changed
+7
-6
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user