Fix pasteuri()
authorQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 12:15:39 +0000 (13:15 +0100)
committerQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 12:15:39 +0000 (13:15 +0100)
The uri check had been inverted.

surf.c

diff --git a/surf.c b/surf.c
index 5043d33..5c9520f 100644 (file)
--- 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);
 }