Skip to content

Commit

Permalink
Win32: Add UI error message if an URL could not be opened
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Jun 20, 2016
1 parent b28d14b commit 871a908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32.c
Expand Up @@ -799,7 +799,7 @@ void win32_open_browser(const gchar *uri)
if (ret <= 32)
{
gchar *err = g_win32_error_message(GetLastError());
/* TODO add a GUI warning that opening an URI failed */
ui_set_statusbar(TRUE, _("Failed to open URI \"%s\": %s"), uri, err);
g_warning("ShellExecute failed opening \"%s\" (code %d): %s", uri, ret, err);
g_free(err);
}
Expand Down

0 comments on commit 871a908

Please sign in to comment.