20 lines
403 B
Plaintext
20 lines
403 B
Plaintext
|
--- src/apprentice.c
|
||
|
+++ src/apprentice.c 2014-06-24 16:33:48.770235732 +0000
|
||
|
@@ -2173,8 +2173,16 @@ check_format_type(const char *ptr, int t
|
||
|
}
|
||
|
} else
|
||
|
h = 0;
|
||
|
+ if (*ptr == '#')
|
||
|
+ ptr++;
|
||
|
+ if (*ptr == ' ')
|
||
|
+ ptr++;
|
||
|
if (*ptr == '-')
|
||
|
ptr++;
|
||
|
+ if (*ptr == '+')
|
||
|
+ ptr++;
|
||
|
+ if (*ptr == '\'')
|
||
|
+ ptr++;
|
||
|
if (*ptr == '.')
|
||
|
ptr++;
|
||
|
while (isdigit((unsigned char)*ptr)) ptr++;
|