:: commit 5d5f29ffeb81d57bc081cdce70dc797d49f3c29b

mintsuki <mintsuki@protonmail.com> — 2022-09-13 08:06

parents: 2a4cbcecc0

misc: Minor cleanup after #216

diff --git a/common/lib/uri.c b/common/lib/uri.c
index 3d6e177a..9771c2a3 100644
--- a/common/lib/uri.c
+++ b/common/lib/uri.c
@@ -74,11 +74,6 @@ bool uri_resolve(char *uri, char **resource, char **root, char **path, char **ha
         break;
     }
 
-    for (size_t i = 0; ; i++) {
-        if (uri[i] == 0)
-            break;
-    }
-
     return true;
 }
 
@@ -270,7 +265,7 @@ struct file_handle *uri_open(char *uri) {
                 panic(true, "Blake2b hash for URI `%#` does not match!", uri);
             } else {
                 print("WARNING: Blake2b hash for URI `%#` does not match!\n"
-                        "         Press Y to continue, press any other key otherwise...", uri);
+                      "         Press Y to continue, press any other key to return to menu...", uri);
 
                 char ch = getchar();
                 if (ch != 'Y' && ch != 'y') {
tab: 248 wrap: offon