#131 TMultiTree.ParseDirStr

Reported
open
nobody
5
2013-01-13
2010-04-23
Anonymous
No

when Parsing folder string
....
{- begin parsing}
current => //while LocKey[1] = '\' do Delete(LocKey, 1, 1);
suggestion = > while (LocKey <> '') and (LocKey[1] = '\') do Delete(LocKey, 1, 1);

Reason. when LocKey str is only ('\') we get an exception on the next iteration after deleting the frst char
My logic: it is. not unsual to set currentdir as '\' when we want the roor dir

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks