• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28665 (tree)
Time2019-10-04 01:13:13
Authorstefankueng

Log Message

Test for end of string, not mid of string.

Change Summary

Incremental Difference

--- trunk/src/SVN/SVNStatusListCtrl.h (revision 28664)
+++ trunk/src/SVN/SVNStatusListCtrl.h (revision 28665)
@@ -332,7 +332,7 @@
332332 {
333333 if ((!allowempty)&&(path.IsEquivalentTo(basepath)))
334334 return path.GetSVNPathString();
335- if (basepath.GetSVNPathString().Mid(1,2)==L":/")
335+ if (basepath.GetSVNPathString().Right(2)==L":/")
336336 return path.GetSVNPathString().Mid(basepath.GetSVNPathString().GetLength());
337337 return path.GetSVNPathString().Mid(basepath.GetSVNPathString().GetLength()+1);
338338 }
Show on old repository browser