4 Feb
2008
4 Feb
'08
7:42 a.m.
Sun, 3 Feb 2008 21:03:03 -0800 "John Faith" <jfaith7@...400...> kirjoitti:
I found that changing the SPFilter struct's _image_name from a std::map to a pointer to a std::map and using 'filter->_image_name = new std::map<gchar *, int, ltstr>;' in sp_filter_init() solves my crashing problems; I can now startup and view the About dialog.
I'm not so much into using a pointer there, but yes, that is a good solution. 'new' will allocate the memory for the map and run the constructor in proper order.
Please attach your patch for this, so we can get this fixed in SVN.
--
Niko Kiirala
niko@...1267...