Some cleanup in style.

This commit is contained in:
Christoph Lohmann 2015-02-03 17:17:04 +01:00
parent b1c5e594d1
commit b3a4392923
1 changed files with 2 additions and 2 deletions

4
surf.c
View File

@ -292,7 +292,7 @@ buttonrelease(WebKitWebView *web, GdkEventButton *e, GList *gl) {
static void static void
cleanup(void) { cleanup(void) {
if (diskcache) { if(diskcache) {
soup_cache_flush(diskcache); soup_cache_flush(diskcache);
soup_cache_dump(diskcache); soup_cache_dump(diskcache);
} }
@ -715,7 +715,7 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) {
case WEBKIT_LOAD_FINISHED: case WEBKIT_LOAD_FINISHED:
c->progress = 100; c->progress = 100;
updatetitle(c); updatetitle(c);
if (diskcache) { if(diskcache) {
soup_cache_flush(diskcache); soup_cache_flush(diskcache);
soup_cache_dump(diskcache); soup_cache_dump(diskcache);
} }