2016-04-18 15:32:24 +02:00
|
|
|
---
|
|
|
|
src/apprentice.c | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
2014-06-25 11:07:53 +02:00
|
|
|
--- src/apprentice.c
|
2016-04-18 15:32:24 +02:00
|
|
|
+++ src/apprentice.c 2016-04-18 11:33:37.966264194 +0000
|
|
|
|
@@ -2350,8 +2350,16 @@ check_format_type(const char *ptr, int t
|
2014-06-25 11:07:53 +02:00
|
|
|
}
|
|
|
|
} else
|
|
|
|
h = 0;
|
|
|
|
+ if (*ptr == '#')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == ' ')
|
|
|
|
+ ptr++;
|
|
|
|
if (*ptr == '-')
|
|
|
|
ptr++;
|
|
|
|
+ if (*ptr == '+')
|
|
|
|
+ ptr++;
|
|
|
|
+ if (*ptr == '\'')
|
|
|
|
+ ptr++;
|
|
|
|
if (*ptr == '.')
|
|
|
|
ptr++;
|
2016-04-18 15:32:24 +02:00
|
|
|
#define CHECKLEN() do { \
|