OSDN Git Service

Fix don't show finish message box when apply patch
authorFrank Li <lznuaa@gmail.com>
Fri, 30 Jan 2009 03:35:27 +0000 (11:35 +0800)
committerFrank Li <lznuaa@gmail.com>
Fri, 30 Jan 2009 03:35:27 +0000 (11:35 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/Commands/ImportPatchCommand.cpp

index aa50186..91a35fe 100644 (file)
@@ -44,8 +44,10 @@ bool ImportPatchCommand::Execute()
                                return FALSE;\r
                        }\r
                }\r
                                return FALSE;\r
                        }\r
                }\r
+               \r
+               CMessageBox::Show(NULL,CString(_T("Patch applied: "))+output,_T("TortoiseGit"),MB_OK);\r
                return TRUE;\r
        }\r
                return TRUE;\r
        }\r
-       CMessageBox::Show(NULL,CString(_T("Patch applied"))+output,_T("TortoiseGit"),MB_OK);\r
+       \r
        return FALSE;\r
 }\r
        return FALSE;\r
 }\r