ide: don't treat xpm as TBitmap anymore

git-svn-id: trunk@15504 -
This commit is contained in:
paul 2008-06-21 14:30:10 +00:00
parent ad0c55e479
commit 470aee3c44

View File

@ -206,7 +206,7 @@ begin
// Paul: can it be not TBitmap at all?
if (ABitmap is TBitmap) then
begin
if ((CompareText(Ext, '.xpm') = 0) or (CompareText(Ext, '.bmp') = 0)) then
if (CompareText(Ext, '.bmp') = 0) then
ABitmap.LoadFromFile(TheDialog.FileName)
else
ABitmap.Assign(TheDialog.Preview.Picture.Graphic);