Allow the Escape key to close the GUI.
[nssm.git] / gui.cpp
diff --git a/gui.cpp b/gui.cpp
index c45347f..5aaf016 100644 (file)
--- a/gui.cpp
+++ b/gui.cpp
@@ -209,7 +209,7 @@ INT_PTR CALLBACK install_dlg(HWND window, UINT message, WPARAM w, LPARAM l) {
           break;\r
 \r
         /* Cancel button */\r
-        case IDC_CANCEL:\r
+        case IDCANCEL:\r
           DestroyWindow(window);\r
           break;\r
 \r