small cleanups

This commit is contained in:
Enno Boland (tox) 2009-10-20 20:52:43 +02:00
parent 31441e93f7
commit c38404fd0b

4
surf.c
View file

@ -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;
}
@ -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)