win32_gui: follow-up bit on x64 patch (premature optimization)

This commit is contained in:
Alex Kompel
2015-04-14 09:33:05 -07:00
parent 62617092b5
commit 116a4147a7
2 changed files with 4 additions and 4 deletions

View File

@@ -28,9 +28,9 @@ typedef struct mswin_nhmsg_add_wnd {
} MSNHMsgAddWnd, *PMSNHMsgAddWnd;
typedef struct mswin_nhmsg_putstr {
int attr;
const char* text;
boolean append;
int attr;
const char* text;
int append;
} MSNHMsgPutstr, *PMSNHMsgPutstr;
typedef struct mswin_nhmsg_print_glyph {

View File

@@ -988,7 +988,7 @@ void mswin_putstr_ex(winid wid, int attr, const char *text, int app)
ZeroMemory(&data, sizeof(data));
data.attr = attr;
data.text = text;
data.append = !!app;
data.append = app;
SendMessage(
GetNHApp()->windowlist[wid].win,
WM_MSNH_COMMAND, (WPARAM)MSNH_MSG_PUTSTR, (LPARAM)&data );