OSDN Git Service

Fixed issue #88: Ambiguous dialog message
authorFrank Li <lznuaa@gmail.com>
Wed, 17 Jun 2009 14:42:09 +0000 (22:42 +0800)
committerFrank Li <lznuaa@gmail.com>
Wed, 17 Jun 2009 14:42:09 +0000 (22:42 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/Settings/SettingGitRemote.cpp

index 9c046a0..227d83e 100644 (file)
@@ -122,7 +122,7 @@ void CSettingGitRemote::OnLbnSelchangeListRemote()
        if(m_ChangedMask)\r
        {\r
                if(CMessageBox::Show(NULL,_T("Remote Config Changed\nDo you want to save change now or discard change"),\r
        if(m_ChangedMask)\r
        {\r
                if(CMessageBox::Show(NULL,_T("Remote Config Changed\nDo you want to save change now or discard change"),\r
-                                                                _T("TortoiseGit"),MB_YESNO) == IDYES)\r
+                                                                _T("TortoiseGit"),1,NULL,_T("Save"),_T("Discard")) == 1)\r
                {\r
                        OnApply();\r
                }\r
                {\r
                        OnApply();\r
                }\r