commit 13e91b102c9a587b0d1d6fdff638e8ed1e6d8280 parent da595817c04afc3749535467921753696b68f39e Author: cnlohr <lohr85@gmail.com> Date: Thu, 22 Nov 2018 18:25:19 -0500 Fix wrong close behavior. Diffstat:
M | cnping.c | | | 2 | +- |
M | cnping.exe | | | 0 |
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/cnping.c b/cnping.c @@ -539,7 +539,7 @@ INT_PTR CALLBACK TextEntry( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l case 0: { int id = wParam & 0xffffff; - if( id == 8 ) + if( id == 8 || id == 2 ) { exit( -1 ); } diff --git a/cnping.exe b/cnping.exe Binary files differ.