OSDN Git Service

Fix TortoiseGitBlame crash when file name incorrect
[tortoisegit/TortoiseGitJp.git] / src / TortoiseGitBlame / TortoiseGitBlameView.cpp
index 105f1ef..7069d24 100644 (file)
@@ -2483,8 +2483,8 @@ void CTortoiseGitBlameView::UpdateInfo()
        SendEditor(SCI_SETSCROLLWIDTHTRACKING, TRUE);\r
        SendEditor(SCI_SETREADONLY, TRUE);\r
 \r
-       m_lowestrev=1;\r
-       m_highestrev=this->GetLogData()->size();\r
+       m_lowestrev=0;\r
+       m_highestrev=this->GetLogData()->size()+m_NoListCommit.size();\r
 \r
        GetBlameWidth();\r
        CRect rect;\r