X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=gui.cpp;h=5aaf016892a1147ffe7e78bcc9e1904592557585;hb=98a2516c22eefd912301ff3c39736da8970dcdff;hp=c45347f4ed8e8c6829d8954041faf3360c79ab90;hpb=961ffcf2e9dba8795ad9019124822d9288442b6f;p=nssm.git diff --git a/gui.cpp b/gui.cpp index c45347f..5aaf016 100644 --- a/gui.cpp +++ b/gui.cpp @@ -209,7 +209,7 @@ INT_PTR CALLBACK install_dlg(HWND window, UINT message, WPARAM w, LPARAM l) { break; /* Cancel button */ - case IDC_CANCEL: + case IDCANCEL: DestroyWindow(window); break;