Fix pasteuri()
[surf.git] / 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);
 }