Build fixes
authorMiguel de Icaza <miguel@gnome.org>
Tue, 4 Nov 2003 13:38:47 +0000 (13:38 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 4 Nov 2003 13:38:47 +0000 (13:38 -0000)
svn path=/trunk/mcs/; revision=19612

mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPathIterator.cs
mcs/class/System.Drawing/System.Drawing.Imaging/JPEGCodec.cs

index 79a4a179a6543e6a8a276fca5b419caaada87687..5087bf22a7b65060dfd7a3867223e64fd0aa1e77 100644 (file)
@@ -16,7 +16,7 @@ namespace System.Drawing.Drawing2D {
 \r
        public sealed class GraphicsPathIterator : MarshalByRefObject {\r
 \r
-               protected GraphicsPath path;\r
+               GraphicsPath path;\r
                \r
                // Constructors\r
                public GraphicsPathIterator(GraphicsPath path) {\r
index aa9fe88b77fce5d9e61a1a629f67a4d288392aaa..f95fe2226a021ee1cc015d641d2b3d8ae8313cce 100644 (file)
@@ -707,11 +707,10 @@ namespace System.Drawing.Imaging
                                // Setup the pointers
                                //
                                unsafe {
-                                       fixed (void **p = &outbuf.JSAMPLE0){
-                                               for (int i = 0; i < rec_outbuf_height; i++){
-                                                       p [i] = start;
-                                                       start += stride;
-                                               }
+                                       void **p = &outbuf.JSAMPLE0;
+                                       for (int i = 0; i < rec_outbuf_height; i++){
+                                               p [i] = start;
+                                               start += stride;
                                        }
                                }