win32_gui: follow-up bit on x64 patch (premature optimization)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user