OSDN Git Service

Fix last line problem
authorFrank Li <lznuaa@gmail.com>
Tue, 13 Jan 2009 13:58:57 +0000 (21:58 +0800)
committerFrank Li <lznuaa@gmail.com>
Tue, 13 Jan 2009 13:58:57 +0000 (21:58 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseGitBlame/TortoiseGitBlameView.cpp

index 45adf2b..e152a90 100644 (file)
@@ -2475,6 +2475,8 @@ void CTortoiseGitBlameView::UpdateInfo()
        while( pos>=0 )\r
        {\r
                one=data.Tokenize(_T("\n"),pos);\r
+               if(one.IsEmpty())\r
+                       continue;\r
                m_CommitHash.push_back(one.Left(40));\r
                int start=0;\r
                start=one.Find(_T(')'),40);\r