summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-22 13:15:39 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-22 13:15:39 +0100
commit10105c8b87a1e3e4c5b98100a6947f1c350561da (patch)
treefcdd10e47c8aa9302e5a3e540ee2ddbbe8fc3a23
parent7c24c61ab22990ce8dd8158706f11ae7cba77bf0 (diff)
downloadsurf-10105c8b87a1e3e4c5b98100a6947f1c350561da.tar.gz
surf-10105c8b87a1e3e4c5b98100a6947f1c350561da.tar.bz2
surf-10105c8b87a1e3e4c5b98100a6947f1c350561da.zip
Fix pasteuri()
The uri check had been inverted.
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
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);
}