aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin

git-svn-id: svn://10.0.0.236/trunk@59806 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2000-02-04 23:14:38 +00:00
parent d405faed9a
commit 4cb8ea7533
2 changed files with 10 additions and 2 deletions

View File

@@ -2185,7 +2185,11 @@ PRInt16 borderRadii[4],i;
theTransform->SetToIdentity();
theTransform->AddScale(app2dev, app2dev);
//aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip);
// XXX this #ifdef needs to go away when we are sure that this works on windows and mac
#ifdef XP_UNIX
srcRect.SetRect(0,0,tvrect.width,tvrect.height);
aRenderingContext.SetClipRect(srcRect, nsClipCombine_kReplace, clip);
#endif
// copy the initial image to our buffer, this takes twips and converts to pixels..
// which is what the image is in