Fix indents

This commit is contained in:
Jun Hiroe
2015-09-19 06:38:28 +09:00
parent 6d55e770d3
commit ce6297aa04
+2 -2
View File
@@ -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)