[Github-comments] [geany] Add error reporting for opening URIs on Windows (#937)

Colomban Wendling notifications at xxxxx
Sun Mar 6 14:24:08 UTC 2016


> @@ -794,7 +795,14 @@ void win32_open_browser(const gchar *uri)
>  				uri++;
>  		}
>  	}
> -	ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNORMAL);
> +	ret = (gint) ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNORMAL);
> +	if (ret <= 32)

I love Windows :D

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/937/files#r55140222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160306/112bde65/attachment.html>


More information about the Github-comments mailing list