mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Modified ase_exception creation with printf style.
This commit is contained in:
parent
61316bedab
commit
77a54b7d34
@ -130,8 +130,8 @@ App::App(int argc, char* argv[])
|
||||
|
||||
pal = palette_load(palette_filename);
|
||||
if (pal == NULL)
|
||||
throw ase_exception(std::string("Error loading default palette from: ")
|
||||
+ palette_filename);
|
||||
throw ase_exception("Error loading default palette from: %s",
|
||||
static_cast<const char*>(palette_filename));
|
||||
|
||||
set_default_palette(pal);
|
||||
palette_free(pal);
|
||||
|
Loading…
Reference in New Issue
Block a user