Browse Source

- removed writeln() in JPEGError() to avoid triggering an (additional)
error in Win32 GUI programs

git-svn-id: trunk@12899 -

Jonas Maebe 16 years ago
parent
commit
4953b23666
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/fcl-image/src/fpreadjpeg.pas

+ 0 - 1
packages/fcl-image/src/fpreadjpeg.pas

@@ -105,7 +105,6 @@ end;
 procedure JPEGError(CurInfo: j_common_ptr);
 procedure JPEGError(CurInfo: j_common_ptr);
 begin
 begin
   if CurInfo=nil then exit;
   if CurInfo=nil then exit;
-  writeln('JPEGError ',CurInfo^.err^.msg_code,' ');
   raise Exception.CreateFmt('JPEG error',[CurInfo^.err^.msg_code]);
   raise Exception.CreateFmt('JPEG error',[CurInfo^.err^.msg_code]);
 end;
 end;