Author: fabien
Date: 2007-04-06 10:31:47 -0400 (Fri, 06 Apr 2007)
New Revision: 5765
Log:
+ deallocation win32 compile problem fixed in pngImage

Modified:
   branches/fctrunk/images/fl_png.cxx
   branches/fctrunk/src/Menu_popup.cxx

Modified: branches/fctrunk/images/fl_png.cxx
===================================================================
--- branches/fctrunk/images/fl_png.cxx  2007-04-05 20:31:22 UTC (rev 5764)
+++ branches/fctrunk/images/fl_png.cxx  2007-04-06 14:31:47 UTC (rev 5765)
@@ -64,7 +64,6 @@
   FILE *fp;
   
   if ((fp = fopen(filename, "wb")) == NULL) {
-    delete[] pixels;
     fltk::alert("Error writing png image %s: %s", filename, strerror(errno));
     return false;
   }

Modified: branches/fctrunk/src/Menu_popup.cxx
===================================================================
--- branches/fctrunk/src/Menu_popup.cxx 2007-04-05 20:31:22 UTC (rev 5764)
+++ branches/fctrunk/src/Menu_popup.cxx 2007-04-06 14:31:47 UTC (rev 5765)
@@ -666,6 +666,7 @@
   return true;
 }
 
+#if 0
 static bool forward0(MenuState& p, int menu) {
   // go to next item in menu menu if possible
   MWindow &m = *(p.menus[menu]);
@@ -676,6 +677,7 @@
   }
   return false;
 }
+#endif
 
 static bool move(MenuState& p, int menu,int delta) {
   MWindow &m = *(p.menus[menu]);

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to