On 30.03.2010, at 21:16, Andreas wrote: > I assume that SharedImage::get(..) loads the images when I make the call, > right? So in that case the images should already be loaded and the strings > not needed anymore when my MultiImage is returned. > > Please correct me if I'm wrong and I'll make the necessary changes.
Yes and no, I saw this also after posting and checked, but the truth is more complicated. SharedImage::get() copies the strings for internal use, thus you don't need to save them. They are probably needed to compare if you load the same image again. At least that's what FLTK 1 does, and what led me in the wrong direction. But as I read in the meantime, Matthias found the bug. Sorry for the misleading answer. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

