diff --git a/win/win32/mhmsg.h b/win/win32/mhmsg.h index 8030b4391..8e48a3b01 100644 --- a/win/win32/mhmsg.h +++ b/win/win32/mhmsg.h @@ -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 { diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 998158a68..b612f79aa 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -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 );