file/file-5.19-printf.dif

16 lines
457 B
Plaintext

---
src/apprentice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- src/apprentice.c
+++ src/apprentice.c 2021-10-19 08:52:01.991343421 +0000
@@ -2489,7 +2489,7 @@ check_format_type(const char *ptr, int t
}
} else
h = 0;
- while (*ptr && strchr("-.#", *ptr) != NULL)
+ while (*ptr && strchr("-.# +'", *ptr) != NULL)
ptr++;
#define CHECKLEN() do { \
for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \