13 Feb
2025
13 Feb
'25
10:36 a.m.
eric pouech (@epo) commented about programs/cmd/wcmdmain.c:
return return_code; }
+ +BOOL WCMD_is_command_aborted(void) +{ + return (WAIT_OBJECT_0 == WaitForSingleObject(control_c_event, 0)); +} + static BOOL WINAPI my_event_handler(DWORD ctrl) { WCMD_output(L"\n"); + if (ctrl == CTRL_C_EVENT) {
please keep the surrounding style (open curly bracket should be on next line) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7322#note_94439