Some Windows gcc fixes
This commit is contained in:
+3
-2
@@ -1061,8 +1061,9 @@ mswin_display_file(const char *filename, boolean must_exist)
|
||||
if (!f) {
|
||||
if (must_exist) {
|
||||
TCHAR message[90];
|
||||
_stprintf(message, TEXT("Warning! Could not find file: %s\n"),
|
||||
NH_A2W(filename, wbuf, sizeof(wbuf)));
|
||||
nh_stprintf(message, sizeof message,
|
||||
TEXT("Warning! Could not find file: %s\n"),
|
||||
NH_A2W(filename, wbuf, sizeof(wbuf)));
|
||||
NHMessageBox(GetNHApp()->hMainWnd, message,
|
||||
MB_OK | MB_ICONEXCLAMATION);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user