mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 03:56:12 +02:00
lcl: lcltranslator: FindLocaleFileName: fixed checking if dir is absolute
git-svn-id: trunk@57318 -
This commit is contained in:
parent
97eebaa8d9
commit
c56672a0e9
@ -114,7 +114,7 @@ var
|
||||
if Dir<>'' then
|
||||
begin
|
||||
Dir := AppendPathDelim(Dir);
|
||||
absoluteDir := FilenameIsWinAbsolute(Dir) or FilenameIsUnixAbsolute(Dir);
|
||||
absoluteDir := FilenameIsAbsolute(Dir);
|
||||
if absoluteDir then
|
||||
Result := Dir + LangID + DirectorySeparator + LCFileName
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user