From: Quentin Rameau Date: Sun, 22 Nov 2015 12:15:39 +0000 (+0100) Subject: Fix pasteuri() X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=commitdiff_plain;h=10105c8b87a1e3e4c5b98100a6947f1c350561da Fix pasteuri() The uri check had been inverted. --- diff --git a/surf.c b/surf.c index 5043d33..5c9520f 100644 --- a/surf.c +++ b/surf.c @@ -1220,7 +1220,7 @@ void pasteuri(GtkClipboard *clipboard, const char *text, gpointer d) { Arg a = {.v = text }; - if (!text) + if (text) loaduri((Client *) d, &a); }