Fix wrong understanding of wyebres's ret

This commit is contained in:
jun7 2018-05-21 13:43:33 +09:00
parent 226c1f0e01
commit 6e89b5631d

View File

@ -945,7 +945,8 @@ static gboolean reqcb(WebKitWebPage *page, WebKitURIRequest *req,
char *ruri = wyebreq(EXE, uris);
g_free(uris);
if (!ruri) return true;
if (!ruri) return false; //wyebab failed
if (!*ruri) return true;
if (g_strcmp0(requri, ruri))
webkit_uri_request_set_uri(req, ruri);