FIX: Load icons from relative path

This commit is contained in:
Alexander Koblov 2016-09-19 18:10:04 +00:00
commit 00cc84afef

View file

@ -499,6 +499,7 @@ begin
if fromWhatItWasLoaded<> nil then fromWhatItWasLoaded^ := fwbwlNotLoaded;
sFileName:= ReplaceEnvVars(sFileName);
sFileName:= ExpandAbsolutePath(sFileName);
// If the name is not full path then treat it as MIME type.
if GetPathType(sFileName) = ptNone then