From: Tom Yu Date: Mon, 1 Oct 2007 23:55:23 +0000 (+0000) Subject: pull up r20035 from trunk X-Git-Tag: krb5-1.6.3-beta2~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5cb93ed898ce82ce80f5fc739ff580fff8d29f3;p=krb5.git pull up r20035 from trunk r20035@cathode-dark-space: jaltman | 2007-10-01 12:15:39 -0400 ticket: 5798 tags: pullup target_version: 1.6.3 component: windows Process WM_CLOSE for the command-line option dialog. ticket: 5798 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20076 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/identity/ui/main.c b/src/windows/identity/ui/main.c index 18b5bca84..f8bcde882 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;