mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-18 21:40:46 +00:00
Fix she::error_message() to avoid calling a printf-like function with a non-printf-format-like argument
This commit is contained in:
parent
76a26802e0
commit
e0a20e5385
@ -733,7 +733,7 @@ void error_message(const char* msg)
|
||||
std::wstring title = base::from_utf8(PACKAGE);
|
||||
::MessageBoxW(NULL, wmsg.c_str(), title.c_str(), MB_OK | MB_ICONERROR);
|
||||
#else
|
||||
allegro_message(msg);
|
||||
allegro_message("%s", msg);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user