@@ -2380,10 +2380,13 @@ base = 8; UTF8String++; } } + + if (base == 0) + base = 10; while (*UTF8String != '\0') { unsigned char c = of_ascii_toupper(*UTF8String++); if (c >= '0' && c <= '9') @@ -2452,10 +2455,13 @@ base = 8; UTF8String++; } } + + if (base == 0) + base = 10; while (*UTF8String != '\0') { unsigned char c = of_ascii_toupper(*UTF8String++); if (c >= '0' && c <= '9')