[hackers] [surf] small cleanups || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Tue, 20 Oct 2009 18:55:52 +0000 (UTC)

changeset: 144:66e3a9d1ce62
user: Enno Boland (tox) <tox_AT_s01.de>
date: Tue Oct 20 20:52:43 2009 +0200
files: surf.c
description:
small cleanups

diff -r 1cf8e947a961 -r 66e3a9d1ce62 surf.c
--- a/surf.c Tue Oct 20 20:49:33 2009 +0200
+++ b/surf.c Tue Oct 20 20:52:43 2009 +0200
@@ -345,7 +345,7 @@
         char *uri;
 
         if(!(uri = (char *)webkit_web_view_get_uri(c->view)))
- uri = copystr(NULL, "about:blank");
+ uri = "about:blank";
         return uri;
 }
 
@@ -690,8 +690,6 @@
                 webkit_web_view_set_zoom_level(c->view, 1.0);
 }
 
-
-
 void
 sigchld(int unused) {
         if(signal(SIGCHLD, sigchld) == SIG_ERR)
Received on Tue Oct 20 2009 - 18:55:52 UTC

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 19:00:06 UTC