summaryrefslogtreecommitdiffhomepage
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index ab004db..6290420 100644
--- a/lib.c
+++ b/lib.c
@@ -1322,6 +1322,7 @@ uc_printf_common(uc_vm_t *vm, size_t nargs, uc_stringbuf_t *buf)
case 's':
conv = FMT_C_STR;
+ flags &= ~FMT_F_ZERO;
cfmt = "s";
break;