mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 13:45:56 +02:00
Revert "LCL: Trim spaces in TPicture.FindGraphicClassWithFileExt". Not GUI code.
git-svn-id: trunk@39174 -
This commit is contained in:
parent
e4d8203192
commit
a7ee575bcc
@ -700,7 +700,7 @@ function TPicture.FindGraphicClassWithFileExt(const Ext: string;
|
||||
var
|
||||
FileExt: String;
|
||||
begin
|
||||
FileExt := Trim(Ext);
|
||||
FileExt := Ext;
|
||||
if (FileExt <> '') and (FileExt[1] = '.') then
|
||||
FileExt := Copy(FileExt, 2, length(FileExt));
|
||||
Result := GetPicFileFormats.FindExt(FileExt);
|
||||
|
Loading…
Reference in New Issue
Block a user