[gimp] Issue 2862 - Error message. Unable to decode abr...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Issue 2862 - Error message. Unable to decode abr...
- Date: Mon, 6 Jan 2020 18:37:32 +0000 (UTC)
commit c39d8fde33baa60c1b17b0901b89a75e57664532
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.
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 8330ca1901..fc808b9c88 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]