From 39301d6c7d2682ce39f52404d4c960cfdf0c85d9 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Sun, 10 Feb 2013 21:54:29 +0800 Subject: [PATCH] Fix broken build in last commit Signed-off-by: Sup Yut Sum --- src/TortoiseProc/Commands/CreateRepositoryCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TortoiseProc/Commands/CreateRepositoryCommand.cpp b/src/TortoiseProc/Commands/CreateRepositoryCommand.cpp index 5bedc324a..bb967036d 100644 --- a/src/TortoiseProc/Commands/CreateRepositoryCommand.cpp +++ b/src/TortoiseProc/Commands/CreateRepositoryCommand.cpp @@ -45,7 +45,7 @@ bool CreateRepositoryCommand::Execute() if (git_repository_init(&repo, path.GetBuffer(), dlg.m_bBare)) { path.ReleaseBuffer(); - CMessageBox::Show(hwndExplorer, CGit::GetGitLastErr(_T("Could not initialize a new repository.")), _T("TortoiseGit"), MB_OK | MB_ICONERROR); + CMessageBox::Show(hwndExplorer, CGit::GetLibGit2LastErr(_T("Could not initialize a new repository.")), _T("TortoiseGit"), MB_OK | MB_ICONERROR); return false; } path.ReleaseBuffer(); -- 2.11.4.GIT