X-Git-Url: http://git.sourceforge.jp/view?p=tortoisegit%2FTortoiseGitJp.git;a=blobdiff_plain;f=src%2FTortoiseProc%2FCommitDlg.cpp;h=ac04831dfb77ddba287eba5ff366dc77dac52908;hp=0ca871273e908449465e1d16493cfcea2edab110;hb=21d1057db51bb3d341aff40e6b71efebdc5d5026;hpb=208f0143d3299b1b617737502d49488c4c5683e1;ds=sidebyside diff --git a/src/TortoiseProc/CommitDlg.cpp b/src/TortoiseProc/CommitDlg.cpp index 0ca8712..ac04831 100644 --- a/src/TortoiseProc/CommitDlg.cpp +++ b/src/TortoiseProc/CommitDlg.cpp @@ -519,7 +519,10 @@ void CCommitDlg::OnOK() CFile::Remove(tempfile); }else - CMessageBox::Show(this->m_hWnd, _T("Nothing Commit"), _T("Commit Finish"), MB_OK | MB_ICONINFORMATION); + { + CMessageBox::Show(this->m_hWnd, IDS_ERROR_NOTHING_COMMIT, IDS_COMMIT_FINISH, MB_OK | MB_ICONINFORMATION); + bCloseCommitDlg=false; + } #if 0 if (m_pathwatcher.GetNumberOfChangedPaths() && m_bRecursive) {