From 1f138942368f31dfd75b40f31f3541e4c3ec63ff Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 22 Oct 2023 10:10:07 +0200 Subject: [PATCH] src/file_xcf.c: add support for more recent versions of Gimp xcf files --- src/file_xcf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file_xcf.c b/src/file_xcf.c index dc286c13..d518edd4 100644 --- a/src/file_xcf.c +++ b/src/file_xcf.c @@ -80,8 +80,8 @@ static void register_header_check_xcf(file_stat_t *file_stat) { register_header_check(0, "gimp xcf file", 13, &header_check_xcf, file_stat); #ifndef DISABLED_FOR_FRAMAC - register_header_check(0, "gimp xcf v001", 13, &header_check_xcf, file_stat); - register_header_check(0, "gimp xcf v002", 13, &header_check_xcf, file_stat); + register_header_check(0, "gimp xcf v00", 12, &header_check_xcf, file_stat); + register_header_check(0, "gimp xcf v01", 12, &header_check_xcf, file_stat); #endif } #endif