Skip to content

Commit 116a414

Browse files
committed
win32_gui: follow-up bit on x64 patch (premature optimization)
1 parent 6261709 commit 116a414

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

win/win32/mhmsg.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ typedef struct mswin_nhmsg_add_wnd {
2828
} MSNHMsgAddWnd, *PMSNHMsgAddWnd;
2929

3030
typedef struct mswin_nhmsg_putstr {
31-
int attr;
32-
const char* text;
33-
boolean append;
31+
int attr;
32+
const char* text;
33+
int append;
3434
} MSNHMsgPutstr, *PMSNHMsgPutstr;
3535

3636
typedef struct mswin_nhmsg_print_glyph {

win/win32/mswproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ void mswin_putstr_ex(winid wid, int attr, const char *text, int app)
988988
ZeroMemory(&data, sizeof(data));
989989
data.attr = attr;
990990
data.text = text;
991-
data.append = !!app;
991+
data.append = app;
992992
SendMessage(
993993
GetNHApp()->windowlist[wid].win,
994994
WM_MSNH_COMMAND, (WPARAM)MSNH_MSG_PUTSTR, (LPARAM)&data );

0 commit comments

Comments
 (0)