ide: fix loading of lazarus.dci (reported by smace)

git-svn-id: trunk@17526 -
This commit is contained in:
paul 2008-11-22 18:35:52 +00:00
parent aafa20b123
commit b586b94542

View File

@ -6091,7 +6091,7 @@ Begin
// reload code templates
with CodeTemplateModul do begin
if FileExistsUTF8(EditorOpts.CodeTemplateFilename) then
AutoCompleteList.LoadFromFile(EditorOpts.CodeTemplateFilename)
AutoCompleteList.LoadFromFile(UTF8ToSys(EditorOpts.CodeTemplateFilename))
else
if FileExistsUTF8('lazarus.dci') then
AutoCompleteList.LoadFromFile(UTF8ToSys('lazarus.dci'));