> + {
> + 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