mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix indents
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ mrb_utf8_from_locale(const char *str, size_t len)
|
||||
if (len == 0)
|
||||
return strdup("");
|
||||
if (len == -1)
|
||||
len = strlen(str);
|
||||
len = strlen(str);
|
||||
wcssize = MultiByteToWideChar(GetACP(), 0, str, len, NULL, 0);
|
||||
wcsp = (wchar_t*) malloc((wcssize + 1) * sizeof(wchar_t));
|
||||
if (!wcsp)
|
||||
@@ -86,7 +86,7 @@ mrb_locale_from_utf8(const char *utf8, size_t len)
|
||||
if (len == 0)
|
||||
return strdup("");
|
||||
if (len == -1)
|
||||
len = strlen(utf8);
|
||||
len = strlen(utf8);
|
||||
wcssize = MultiByteToWideChar(CP_UTF8, 0, utf8, len, NULL, 0);
|
||||
wcsp = (wchar_t*) malloc((wcssize + 1) * sizeof(wchar_t));
|
||||
if (!wcsp)
|
||||
|
||||
Reference in New Issue
Block a user