mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Modified an ase_exception call using printf style call.
This commit is contained in:
parent
5edc5696ca
commit
2ed2ce9545
@ -65,7 +65,8 @@ LegacyModules::LegacyModules(int requirements)
|
||||
PRINTF("Installing module: %s\n", module[c].name);
|
||||
|
||||
if ((*module[c].init)() < 0)
|
||||
throw ase_exception(std::string("Error initializing module: ") + module[c].name);
|
||||
throw ase_exception("Error initializing module: %s",
|
||||
static_cast<const char*>(module[c].name));
|
||||
|
||||
module[c].installed = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user