diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-14 19:34:22 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-14 19:38:20 -0300 |
commit | 6fbcb549fd77080471b59fa8b15f0ecc61201571 (patch) | |
tree | f775924ffde48089d2713dd9c9cca8d6d3c713af | |
parent | 6a2c4c9084060583261855ce5c57bdfd977f2cf1 (diff) |
formatting pass
-rwxr-xr-x | rosenrot | bin | 35536 -> 40216 bytes | |||
-rw-r--r-- | rosenrot.c | 4 |
2 files changed, 2 insertions, 2 deletions
Binary files differ @@ -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 |