Fix typo
This commit is contained in:
parent
9360c7974b
commit
605fec7dc8
1 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@ std::string wideToMbcs(const wchar_t *str, size_t len)
|
||||||
#if defined(NL_OS_WINDOWS)
|
#if defined(NL_OS_WINDOWS)
|
||||||
return winWideToCp(str, len, CP_ACP);
|
return winWideToCp(str, len, CP_ACP);
|
||||||
#else
|
#else
|
||||||
return wideToUTf8(str, len);
|
return wideToUtf8(str, len);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ std::string wideToMbcs(const std::wstring &str)
|
||||||
#if defined(NL_OS_WINDOWS)
|
#if defined(NL_OS_WINDOWS)
|
||||||
return winWideToCp(str.c_str(), str.size(), CP_ACP);
|
return winWideToCp(str.c_str(), str.size(), CP_ACP);
|
||||||
#else
|
#else
|
||||||
return wideToUTf8(str);
|
return wideToUtf8(str);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue