tFix pasteuri() - surf - customized build of surf, the suckless webkit browser
HTML git clone git://src.adamsgaard.dk/surf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 10105c8b87a1e3e4c5b98100a6947f1c350561da
DIR parent 7c24c61ab22990ce8dd8158706f11ae7cba77bf0
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Sun, 22 Nov 2015 13:15:39 +0100
Fix pasteuri()
The uri check had been inverted.
Diffstat:
M surf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/surf.c b/surf.c
t@@ -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);
}