[gimp] plug-ins: fix magics for .cur and .ico.



commit d131c6a3638c7c73b227c0b7b40467f70313cc45
Author: Jehan <jehan girinstud io>
Date:   Thu Feb 10 13:27:24 2022 +0100

    plug-ins: fix magics for .cur and .ico.

 plug-ins/file-ico/ico.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/file-ico/ico.c b/plug-ins/file-ico/ico.c
index 25f0f63999..728c70bed9 100644
--- a/plug-ins/file-ico/ico.c
+++ b/plug-ins/file-ico/ico.c
@@ -153,7 +153,7 @@ ico_create_procedure (GimpPlugIn  *plug_in,
       gimp_file_procedure_set_extensions (GIMP_FILE_PROCEDURE (procedure),
                                           "ico");
       gimp_file_procedure_set_magics (GIMP_FILE_PROCEDURE (procedure),
-                                      "0,string,\\000\\001\\000\\000,0,string,\\000\\002\\000\\000");
+                                      "0,string,\\0\\0\\1\\0");
 
       gimp_load_procedure_set_thumbnail_loader (GIMP_LOAD_PROCEDURE (procedure),
                                                 LOAD_THUMB_PROC);
@@ -183,7 +183,7 @@ ico_create_procedure (GimpPlugIn  *plug_in,
       gimp_file_procedure_set_extensions (GIMP_FILE_PROCEDURE (procedure),
                                           "cur");
       gimp_file_procedure_set_magics (GIMP_FILE_PROCEDURE (procedure),
-                                      "0,string,\\000\\001\\000\\000,0,string,\\000\\002\\000\\000");
+                                      "0,string,\\0\\0\\2\\0");
 
       gimp_load_procedure_set_thumbnail_loader (GIMP_LOAD_PROCEDURE (procedure),
                                                 LOAD_THUMB_PROC);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]