FIX: Bug [0002148] Item in Directory Hotlist changes to Command when importing bookmark with prefix "ccm_"

This commit is contained in:
Alexander Koblov 2018-10-20 11:04:33 +00:00
commit 305402a046

View file

@ -657,7 +657,7 @@ begin
begin
LocalHotDir.HotDirName := sName;
LocalHotDir.HotDirPath := sPath;
if UTF8Pos('cm_', UTF8LowerCase(sPath)) = 0 then
if UTF8Pos('cm_', UTF8LowerCase(sPath)) <> 1 then
begin
LocalHotDir.HotDirPathSort := AConfig.GetAttr(Anode, 'PathSort', 0);
LocalHotDir.HotDirTarget := AConfig.GetAttr(ANode, 'Target', '');