Distinguish EOF and empty lines when parsing text pal files

This commit is contained in:
ISSOtm
2024-07-26 14:58:36 +02:00
committed by Sylvie
parent 3bd35a8848
commit a23b4732e3
5 changed files with 25 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
error: GPL palette file appears to be truncated
Conversion aborted after 1 error

View File

@@ -0,0 +1 @@
-c gpl:truncated_gpl.gpl

View File

@@ -0,0 +1 @@
GIMP Palette

BIN
test/gfx/truncated_gpl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B