24 Feb
2006
24 Feb
'06
6:38 p.m.
http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape/trunk/src/ui/dialog...
Hmm, I don't think that typecheck is the best way to address the bug. It's just papering over the real problem...
If the problem is that you're sometimes getting a (non-NULL) garbage pointer in dlgPtr, that has to be fixed upstream. It's probably a source of other bugs too.
Besides, a typecheck here would only catch a garbage pointer most of the time. Occasionally, the arbitrary data being pointed to will have the right bit pattern...
-mental