:: commit 2c3bd46854acd0de9d392f896ddf4f097841747e

mintsuki <mintsuki@protonmail.com> — 2020-04-24 15:36

parents: 2b6cf6296c

Fix bug where config file values with a colon were interpreted as entries (3)

diff --git a/qloader2.bin b/qloader2.bin
index 8eb8a380..aebf0c40 100644
Binary files a/qloader2.bin and b/qloader2.bin differ
diff --git a/src/lib/config.c b/src/lib/config.c
index 92626869..cf87d7e6 100644
--- a/src/lib/config.c
+++ b/src/lib/config.c
@@ -75,8 +75,10 @@ cont:
     while (*p != ':' && *p)
         p++;
 
-    if (*p && *(p - 1) != '\n')
+    if (*p && *(p - 1) != '\n') {
+        p++;
         goto cont;
+    }
 
     *p = 0;
 
tab: 248 wrap: offon