From 6fbcb549fd77080471b59fa8b15f0ecc61201571 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 14 Mar 2024 19:34:22 -0300 Subject: formatting pass --- rosenrot | Bin 35536 -> 40216 bytes rosenrot.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rosenrot b/rosenrot index 830bad2..ba1041c 100755 Binary files a/rosenrot and b/rosenrot differ diff --git a/rosenrot.c b/rosenrot.c index 1706a3c..628cc52 100644 --- a/rosenrot.c +++ b/rosenrot.c @@ -30,12 +30,12 @@ WebKitWebView* notebook_get_webview(GtkNotebook* notebook) void show_bar(GtkNotebook* notebook); void load_uri(WebKitWebView* view, const char* uri) { - if (strlen(uri) == 0){ + if (strlen(uri) == 0) { webkit_web_view_load_uri(view, ""); bar.entry_mode = _SEARCH; show_bar(notebook); - }else if (g_str_has_prefix(uri, "http://") || g_str_has_prefix(uri, "https://") || g_str_has_prefix(uri, "file://") || g_str_has_prefix(uri, "about:")) { + } else if (g_str_has_prefix(uri, "http://") || g_str_has_prefix(uri, "https://") || g_str_has_prefix(uri, "file://") || g_str_has_prefix(uri, "about:")) { webkit_web_view_load_uri(view, uri); } else { // Check for shortcuts -- cgit v1.2.3