[hackers] [surf] Fix pasteuri() || Quentin Rameau

From: <git_AT_suckless.org>
Date: Sun, 22 Nov 2015 13:16:13 +0100 (CET)

commit 10105c8b87a1e3e4c5b98100a6947f1c350561da
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Nov 22 13:15:39 2015 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sun Nov 22 13:15:39 2015 +0100

    Fix pasteuri()
    
    The uri check had been inverted.

diff --git a/surf.c b/surf.c
index 5043d33..5c9520f 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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);
 }
 
Received on Sun Nov 22 2015 - 13:16:13 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 22 2015 - 13:24:13 CET