applied patch from Valdas Janka for bug #8498 to fix pixmap scaling

git-svn-id: trunk@10874 -
This commit is contained in:
andrew 2007-04-04 23:02:38 +00:00
parent 3af8922151
commit 578459f760

View File

@ -1229,7 +1229,7 @@ begin
DebugLn('ScalePixmap Creating PixBuf from pixmap SrcWhole='+dbgs(SrcWholeWidth),','+dbgs(SrcWholeHeight));
{$ENDIF}
ScaleSRC := gdk_pixbuf_get_from_drawable(nil,SrcPixmap,
SrcColorMap,0,0,SrcX,SrcY,SrcWidth,SrcHeight);
SrcColorMap,SrcX,SrcY,0,0,SrcWidth,SrcHeight);
If ScaleSRC = nil then begin
DebugLn('WARNING: ScalePixmap ScaleSRC=nil');
exit;