diff options
make format
1 files changed, 9 insertions, 3 deletions
| -rw-r--r-- | badwolf.c | 12 |
@@ -85,19 +85,25 @@ WebViewCb_close(WebKitWebView *webView, gpointer user_data) } static gboolean -WebViewCb_web_process_terminated(WebKitWebView *webView, WebKitWebProcessTerminationReason reason, gpointer user_data) +WebViewCb_web_process_terminated(WebKitWebView *webView, + WebKitWebProcessTerminationReason reason, + gpointer user_data) { (void)webView; struct Client *browser = (struct Client *)user_data; switch(reason) { - case WEBKIT_WEB_PROCESS_CRASHED: g_fprintf(stderr, "the web process crashed."); webView_tab_label_change(browser, "Crashed"); break; + case WEBKIT_WEB_PROCESS_CRASHED: + g_fprintf(stderr, "the web process crashed."); + webView_tab_label_change(browser, "Crashed"); + break; case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: g_fprintf(stderr, "the web process exceeded the memory limit."); webView_tab_label_change(browser, "Out of Memory"); break; - default: g_fprintf(stderr, "the web process terminated for an unknown reason."); + default: + g_fprintf(stderr, "the web process terminated for an unknown reason."); webView_tab_label_change(browser, "Unknown Crash"); } |