summaryrefslogtreecommitdiff
path: root/source/fitz/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/buffer.c')
-rw-r--r--source/fitz/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/buffer.c b/source/fitz/buffer.c
index 3d80fbbd..07ce9361 100644
--- a/source/fitz/buffer.c
+++ b/source/fitz/buffer.c
@@ -341,7 +341,7 @@ fz_buffer_cat_pdf_string(fz_context *ctx, fz_buffer *buffer, const char *text)
*d++ = c;
}
}
- *d++ = ')';
+ *d = ')';
buffer->len += len;
}