mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +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);
|
std::wstring title = base::from_utf8(PACKAGE);
|
||||||
::MessageBoxW(NULL, wmsg.c_str(), title.c_str(), MB_OK | MB_ICONERROR);
|
::MessageBoxW(NULL, wmsg.c_str(), title.c_str(), MB_OK | MB_ICONERROR);
|
||||||
#else
|
#else
|
||||||
allegro_message(msg);
|
allegro_message("%s", msg);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user