[Github-comments] [geany] Use multi-byte variant of CreateProcess on Windows (#809)
Colomban Wendling
notifications at xxxxx
Mon Dec 14 14:21:59 UTC 2015
> + {
> + gchar *err = g_win32_error_message(GetLastError());
> + message = g_strdup_printf(
> + "Failed to convert working directory to multi-byte string: %s", err);
> + g_free(err);
> + failed = ""; /* report the message only */
> + goto leave;
> + }
> + if (! MultiByteToWideChar(
> + CP_UTF8, 0, command_line, -1, w_command_line, G_N_ELEMENTS(w_command_line)))
> + {
> + gchar *err = g_win32_error_message(GetLastError());
> + message = g_strdup_printf(
> + "Failed to convert command line to multi-byte string: %s", err);
> + g_free(err);
> + failed = ""; /* report the message only */
same here
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/809/files#r47502073
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151214/83ff3300/attachment.html>
More information about the Github-comments
mailing list