summaryrefslogtreecommitdiff
path: root/src/libstddjb/fmtscan-internal.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-05 19:23:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-05 19:23:52 +0000
commit8c6a299e08059edcaae7f4f82d6a27e90d35d810 (patch)
tree5c9957ad65c68a6bd3f5788cdbecdd6b69a37e64 /src/libstddjb/fmtscan-internal.h
parentaac54c9d0f36ecadd205da3985996a9e56e1fa14 (diff)
downloadskalibs-8c6a299e08059edcaae7f4f82d6a27e90d35d810.tar.xz
The extra space, John! The extra space!
Diffstat (limited to 'src/libstddjb/fmtscan-internal.h')
-rw-r--r--src/libstddjb/fmtscan-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/fmtscan-internal.h b/src/libstddjb/fmtscan-internal.h
index 0e68788..5bbfa69 100644
--- a/src/libstddjb/fmtscan-internal.h
+++ b/src/libstddjb/fmtscan-internal.h
@@ -119,7 +119,7 @@ size_t uint##bits##_fmtlist (char *s, uint##bits##_t const *tab, size_t n) \
size_t w = uint##bits##_fmt(s, tab[i]) ; \
len += w ; \
if (s) s += w ; \
- if (i < n-1) { len++ ; if (s) *s++ = ',' ; } \
+ if (i < n-1) { len++ ; if (s) *s++ = ',' ; } \
} \
return len ; \
} \