summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2024-01-22 16:34:46 +0000
committernicm <nicm>2024-01-22 16:34:46 +0000
commit428f8a9b2884093b5f40b64797753871ddfa67b0 (patch)
tree7ac27d196cec88c9a8f71210fbade6553737dd64
parent2e39d698d2e6597f0c2c92bbbfd7213dca029b20 (diff)
Increase buffer size to avoid truncating styles, GitHub issue 3809 from
Ricardo Bittencourt.
-rw-r--r--style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.c b/style.c
index 0d7ebe86..35293a10 100644
--- a/style.c
+++ b/style.c
@@ -242,7 +242,7 @@ style_tostring(struct style *sy)
int off = 0;
const char *comma = "", *tmp = "";
static char s[256];
- char b[16];
+ char b[21];
*s = '\0';