summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/css21.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/css21.c b/test/css21.c
index 5a84489..6c32f14 100644
--- a/test/css21.c
+++ b/test/css21.c
@@ -119,13 +119,13 @@ int main(int argc, char **argv)
#if DUMP_CSS
{
char *out;
- size_t outlen = origlen * 2;
+ size_t outlen = origlen * 4;
size_t written;
out = malloc(outlen);
assert(out != NULL);
dump_sheet(sheet, out, &outlen);
- written = fwrite(out, 1, origlen * 2 - outlen, stdout);
- assert(written == origlen * 2 - outlen);
+ written = fwrite(out, 1, origlen * 4 - outlen, stdout);
+ assert(written == origlen * 4 - outlen);
free(out);
}
#endif