- fix wrong filename of output in glazres, second try.
- fix drawing of ListBox items in glazres (Issue #0027183)

git-svn-id: trunk@47226 -
This commit is contained in:
bart 2014-12-20 15:57:37 +00:00
parent 9a23a0544a
commit b0bddd32ec

View File

@ -237,7 +237,7 @@ var
TheCanvas: TCanvas;
begin
//Objective: draw only the FileName, not the fully qualified path.
if (odPainted in State) then Exit;
//if (odPainted in State) then Exit;
TheCanvas := (Control as TCustomListBox).Canvas;
ItemText := ExtractFileName(FileListBox.Items[Index]);
@ -450,7 +450,7 @@ begin
end;
end;
try
ResFileStream:=TFileStreamUtf8.Create(ResourceFilename,fmCreate);
ResFileStream:=TFileStreamUtf8.Create(FullResourceFileName,fmCreate);
except
AddMessageFmt(ErrCreate,[ResourceFileName]);
exit;