Fix pasteuri()

The uri check had been inverted.
This commit is contained in:
Quentin Rameau 2015-11-22 13:15:39 +01:00
parent 7c24c61ab2
commit 10105c8b87

2
surf.c
View file

@ -1220,7 +1220,7 @@ void
pasteuri(GtkClipboard *clipboard, const char *text, gpointer d) pasteuri(GtkClipboard *clipboard, const char *text, gpointer d)
{ {
Arg a = {.v = text }; Arg a = {.v = text };
if (!text) if (text)
loaduri((Client *) d, &a); loaduri((Client *) d, &a);
} }