mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 23:16:16 +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
|
var
|
||||||
FileExt: String;
|
FileExt: String;
|
||||||
begin
|
begin
|
||||||
FileExt := Trim(Ext);
|
FileExt := Ext;
|
||||||
if (FileExt <> '') and (FileExt[1] = '.') then
|
if (FileExt <> '') and (FileExt[1] = '.') then
|
||||||
FileExt := Copy(FileExt, 2, length(FileExt));
|
FileExt := Copy(FileExt, 2, length(FileExt));
|
||||||
Result := GetPicFileFormats.FindExt(FileExt);
|
Result := GetPicFileFormats.FindExt(FileExt);
|
||||||
|
Loading…
Reference in New Issue
Block a user