FLTK logo

[fltk.general] Re: Some issues with latest FLUID

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.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Some issues with latest FLUID "'Matthias Melcher' via fltk.general" Nov 24, 2022  
  I was thinking that the bitmap width or height is 0, so "new[w*h]" returns NULL. But the C++ standard allows "delete[] NULL", so that should not crash. VisualStudio 2010 seems to ignore that though, so maybe that's the issue? Either way, if w or h is zero or less, there should be no attempt to build the bitmap at all.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/33023651-d392-43bd-a43c-ac89a087e350n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]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'.