tsmall cleanups - surf - customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit c38404fd0b7f537ea5c97ca830f44b9834dbaac7 (DIR) parent 31441e93f73029017fb59ac9f7e36ba74206ced4 (HTM) Author: Enno Boland (tox) <tox@s01.de> Date: Tue, 20 Oct 2009 20:52:43 +0200 small cleanups Diffstat: M surf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- (DIR) diff --git a/surf.c b/surf.c t@@ -345,7 +345,7 @@ geturi(Client *c) { char *uri; if(!(uri = (char *)webkit_web_view_get_uri(c->view))) - uri = copystr(NULL, "about:blank"); + uri = "about:blank"; return uri; } t@@ -690,8 +690,6 @@ resize(GtkWidget *w, GtkAllocation *a, Client *c) { webkit_web_view_set_zoom_level(c->view, 1.0); } - - void sigchld(int unused) { if(signal(SIGCHLD, sigchld) == SIG_ERR)