Another code copy-paste error in graphics.cs
Daniel Zatonyi <[email protected]> Mon, 01 Jun 2015 15:06:13 +0200
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Just found this bug in clipRect -- probably copy-pasted code. Regards, Daniel ------------------------------------------------------------------------------ _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers
cliprect.patch
(text/plain, 569 B)
Index: graphics.cs
===================================================================
RCS file: /cvsroot/ikvm/ikvm/awt/graphics.cs,v
retrieving revision 1.76
diff -u -r1.76 graphics.cs
--- graphics.cs 5 Mar 2015 14:01:47 -0000 1.76
+++ graphics.cs 1 Jun 2015 13:00:46 -0000
@@ -232,7 +232,7 @@
public override void clipRect(int x, int y, int w, int h)
{
checkState();
- base.clearRect(x, y, w, h);
+ base.clipRect(x, y, w, h);
}
public override void clip(java.awt.Shape shape)