[gimp/gimp-2-10] Issue 2862 - Error message. Unable to decode abr...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue 2862 - Error message. Unable to decode abr...
- Date: Mon, 6 Jan 2020 18:38:27 +0000 (UTC)
commit 61a2d53c9db7534514b1f5c7fb702f92eb3549ff
Author: Massimo Valentini <mvalentini335 gmail com>
Date: Fri Aug 16 09:08:40 2019 +0200
Issue 2862 - Error message. Unable to decode abr...
...format version 10.
Simply allow the parser to read version 10, seems to work
with the brushes in issue #2862.
(cherry picked from commit c39d8fde33baa60c1b17b0901b89a75e57664532)
app/core/gimpbrush-load.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/app/core/gimpbrush-load.c b/app/core/gimpbrush-load.c
index 63a453ebc9..b14c10d64d 100644
--- a/app/core/gimpbrush-load.c
+++ b/app/core/gimpbrush-load.c
@@ -500,6 +500,7 @@ gimp_brush_load_abr (GimpContext *context,
file, &my_error);
break;
+ case 10:
case 6:
brush_list = gimp_brush_load_abr_v6 (data_input, &abr_hdr,
file, &my_error);
@@ -1048,6 +1049,7 @@ abr_supported (AbrHeader *abr_hdr,
return TRUE;
break;
+ case 10:
case 6:
/* in this case, count contains format sub-version */
if (abr_hdr->count == 1 || abr_hdr->count == 2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]