krb5 commit [krb5-1.10]: Fix kfw message box titles

Tom Yu tlyu at MIT.EDU
Wed Aug 29 19:17:35 EDT 2012


https://github.com/krb5/krb5/commit/2f9150583e5bc573ce9c72d5327dfc844749ef38
commit 2f9150583e5bc573ce9c72d5327dfc844749ef38
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date:   Sun Aug 12 14:35:06 2012 -0400

    Fix kfw message box titles
    
    "MIT Kerberos", not "Leash32"
    
    Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>
    
    (cherry picked from commit 12147e84b98422aec0f34abf6be254d11fe8729a)
    
    ticket: 7333
    status: resolved

 src/windows/leash/Leash.cpp   |    2 +-
 src/windows/leash/MainFrm.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/windows/leash/Leash.cpp b/src/windows/leash/Leash.cpp
index 25a17de..6153499 100644
--- a/src/windows/leash/Leash.cpp
+++ b/src/windows/leash/Leash.cpp
@@ -386,7 +386,7 @@ BOOL CLeashApp::InitInstance()
     // Registry key under which our settings are stored.
     if (m_pszAppName)
         free((void*)m_pszAppName);
-    m_pszAppName = _tcsdup("Leash32");
+    m_pszAppName = _tcsdup("MIT Kerberos");
     SetRegistryKey(_T("MIT"));
 
     LoadStdProfileSettings(); // Load standard INI file options (including MRU)
diff --git a/src/windows/leash/MainFrm.cpp b/src/windows/leash/MainFrm.cpp
index 1e22283..aa17000 100644
--- a/src/windows/leash/MainFrm.cpp
+++ b/src/windows/leash/MainFrm.cpp
@@ -199,7 +199,7 @@ BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
     cs.dwExStyle |= WS_EX_APPWINDOW;
 //    cs.dwExStyle |= WS_EX_OVERLAPPEDWINDOW ;
 	cs.lpszClass = _T("LEASH.0WNDCLASS");
-    cs.lpszName = _T("Leash32");
+    cs.lpszName = _T("MIT Kerberos");
 
     CString strText = AfxGetApp()->GetProfileString(CLeashFrame::s_profileHeading,
                                                     CLeashFrame::s_profileRect);


More information about the cvs-krb5 mailing list