summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-02-03 17:17:04 +0100
committerChristoph Lohmann <20h@r-36.net>2015-02-03 17:17:04 +0100
commitb3a4392923b26e81c4faa35907a4a2d071e2275f (patch)
treef4917c02de1806f6084d770b5995f1e4b7080df9
parentb1c5e594d135292bb7b1da426ae5959bfe788b57 (diff)
downloadsurf-b3a4392923b26e81c4faa35907a4a2d071e2275f.tar.gz
surf-b3a4392923b26e81c4faa35907a4a2d071e2275f.tar.bz2
surf-b3a4392923b26e81c4faa35907a4a2d071e2275f.zip
Some cleanup in style.
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 48f6b39..36f243e 100644
--- a/surf.c
+++ b/surf.c
@@ -292,7 +292,7 @@ buttonrelease(WebKitWebView *web, GdkEventButton *e, GList *gl) {
static void
cleanup(void) {
- if (diskcache) {
+ if(diskcache) {
soup_cache_flush(diskcache);
soup_cache_dump(diskcache);
}
@@ -715,7 +715,7 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
case WEBKIT_LOAD_FINISHED:
c->progress = 100;
updatetitle(c);
- if (diskcache) {
+ if(diskcache) {
soup_cache_flush(diskcache);
soup_cache_dump(diskcache);
}