mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +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);
|
pal = palette_load(palette_filename);
|
||||||
if (pal == NULL)
|
if (pal == NULL)
|
||||||
throw ase_exception(std::string("Error loading default palette from: ")
|
throw ase_exception("Error loading default palette from: %s",
|
||||||
+ palette_filename);
|
static_cast<const char*>(palette_filename));
|
||||||
|
|
||||||
set_default_palette(pal);
|
set_default_palette(pal);
|
||||||
palette_free(pal);
|
palette_free(pal);
|
||||||
|
Loading…
Reference in New Issue
Block a user