- removed writeln() in JPEGError() to avoid triggering an (additional)

error in Win32 GUI programs

git-svn-id: trunk@12899 -
This commit is contained in:
Jonas Maebe 2009-03-15 13:27:24 +00:00
parent ab8b32dafb
commit 4953b23666

View File

@ -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;