mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 14:29:25 +02:00
- removed writeln() in JPEGError() to avoid triggering an (additional)
error in Win32 GUI programs git-svn-id: trunk@12899 -
This commit is contained in:
parent
ab8b32dafb
commit
4953b23666
@ -105,7 +105,6 @@ end;
|
||||
procedure JPEGError(CurInfo: j_common_ptr);
|
||||
begin
|
||||
if CurInfo=nil then exit;
|
||||
writeln('JPEGError ',CurInfo^.err^.msg_code,' ');
|
||||
raise Exception.CreateFmt('JPEG error',[CurInfo^.err^.msg_code]);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user