FLTK logo

[Library] r5765 - in branches/fctrunk: images src

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[Library] r5765 - in branches/fctrunk: images src fltk-dev Apr 06, 2007  
 
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]);

Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.