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 c39d8fde33)
This commit is contained in:
Massimo Valentini
2019-08-16 09:08:40 +02:00
committed by Michael Natterer
parent 07b3acd69b
commit 61a2d53c9d

View File

@ -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)