mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-09 18:44:46 +00:00
Merge branch 'master'
This commit is contained in:
commit
aededaaeab
@ -53,7 +53,10 @@ Palette* load_gpl_file(const char *filename)
|
||||
std::istringstream lineIn(line);
|
||||
// TODO add support to read the color name
|
||||
lineIn >> r >> g >> b;
|
||||
if (lineIn.good())
|
||||
|
||||
if (lineIn.fail())
|
||||
continue;
|
||||
|
||||
pal->addEntry(rgba(r, g, b, 255));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user