From e9ed7a8b5772ab41ebb6b76f0794de92015ce9d9 Mon Sep 17 00:00:00 2001 From: Michael Bazzinotti Date: Thu, 16 Jul 2020 08:45:20 -0400 Subject: [PATCH] [csource-rle] compensate for null byte --- plug-ins/common/file-csource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/common/file-csource.c b/plug-ins/common/file-csource.c index 1454599fb7b..b25b5a128d8 100644 --- a/plug-ins/common/file-csource.c +++ b/plug-ins/common/file-csource.c @@ -873,7 +873,7 @@ save_image (GFile *file, if (config_use_rle) { if (! print (output, error, - "%u] =\n", + "%u + 1] =\n", (guint) (img_buffer_end - img_buffer))) goto fail; }