Index: src/util.cpp
===================================================================
--- src/util.cpp	(revision 597)
+++ src/util.cpp	(working copy)
@@ -615,8 +615,10 @@
     val = 0;
     if (str == 0 || *str == 0) return -1;
     for (; isspace(*str); ++ str); // skip leading space
-    if (*str == 0 || (del != 0 && *del != 0 && strchr(del, *str) != 0))
-	return -1;
+    if (*str == 0 || (del != 0 && *del != 0 && strchr(del, *str) != 0)) {
+    ++str;
+    return -1;
+    }
 
     if (*str == '0' && (str[1] == 'x' || str[1] == 'X')) { // hexadecimal
 	return readUInt(reinterpret_cast<uint64_t&>(val), str, del);
@@ -679,8 +681,10 @@
     val = 0;
     if (str == 0 || *str == 0) return -1;
     for (; isspace(*str); ++ str); // skip leading space
-    if (*str == 0 || (del != 0 && *del != 0 && strchr(del, *str) != 0))
-	return -1;
+    if (*str == 0 || (del != 0 && *del != 0 && strchr(del, *str) != 0)) {
+    ++str;
+    return -1;
+    }
 
     if (*str == '0' && (str[1] == 'x' || str[1] == 'X')) { // hexadecimal
 	while ((*str >= '0' && *str <= '9') ||
