Fix broken build in last commit
authorSup Yut Sum <ch3cooli@gmail.com>
Sun, 10 Feb 2013 13:54:29 +0000 (10 21:54 +0800)
committerSup Yut Sum <ch3cooli@gmail.com>
Sun, 10 Feb 2013 13:54:29 +0000 (10 21:54 +0800)
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
src/TortoiseProc/Commands/CreateRepositoryCommand.cpp

index 5bedc32..bb96703 100644 (file)
@@ -45,7 +45,7 @@ bool CreateRepositoryCommand::Execute()
                if (git_repository_init(&repo, path.GetBuffer(), dlg.m_bBare))\r
                {\r
                        path.ReleaseBuffer();\r
-                       CMessageBox::Show(hwndExplorer, CGit::GetGitLastErr(_T("Could not initialize a new repository.")), _T("TortoiseGit"), MB_OK | MB_ICONERROR);\r
+                       CMessageBox::Show(hwndExplorer, CGit::GetLibGit2LastErr(_T("Could not initialize a new repository.")), _T("TortoiseGit"), MB_OK | MB_ICONERROR);\r
                        return false;\r
                }\r
                path.ReleaseBuffer();\r