os/env: Fix completion of multibyte env var names

fixes #9655
This commit is contained in:
erw7
2019-03-01 16:12:11 +09:00
committed by Justin M. Keyes
parent 14c53e4cbe
commit cef0107c14
2 changed files with 28 additions and 9 deletions

View File

@@ -1104,7 +1104,7 @@ char *os_resolve_shortcut(const char *fname)
if (hr == S_OK && wsz[0] != NUL) {
const int conversion_result = utf16_to_utf8(wsz, &rfname);
if (conversion_result != 0) {
EMSG2("utf16_to_utf8 failed: %s", uv_strerror(conversion_result));
EMSG2("utf16_to_utf8 failed: %d", conversion_result);
}
}