summaryrefslogtreecommitdiffstats
path: root/src/windows/identity/ui
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-10-01 16:15:39 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-10-01 16:15:39 +0000
commit791551ef2396ad93978bd2aa2ddeb847db03c62c (patch)
tree2660bcc3d67786d5a708d68d5e11217c083e6f21 /src/windows/identity/ui
parentfa8664f19eb7bf0cd4fb44704da4de9ac288d014 (diff)
downloadkrb5-791551ef2396ad93978bd2aa2ddeb847db03c62c.tar.gz
krb5-791551ef2396ad93978bd2aa2ddeb847db03c62c.tar.xz
krb5-791551ef2396ad93978bd2aa2ddeb847db03c62c.zip
Process WM_CLOSE for the command-line option dialog
ticket: 5798 tags: pullup target_version: 1.6.3 component: windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20035 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/ui')
-rw-r--r--src/windows/identity/ui/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windows/identity/ui/main.c b/src/windows/identity/ui/main.c
index 18b5bca84e..f8bcde8829 100644
--- a/src/windows/identity/ui/main.c
+++ b/src/windows/identity/ui/main.c
@@ -1,6 +1,8 @@
/*
* Copyright (c) 2005 Massachusetts Institute of Technology
*
+ * Copyright (2) 2007 Secure Endpoints Inc.
+ *
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
@@ -173,6 +175,12 @@ khm_cmdline_dlg_proc(HWND hwnd,
}
return TRUE;
+
+ case WM_CLOSE:
+
+ EndDialog(hwnd, KHM_ERROR_EXIT);
+
+ return TRUE;
}
return FALSE;