
On Fri, Feb 22, 2008 at 01:36:19AM +0100, Maximilian Albert wrote:
J.B.C.Engelen@...1578... schrieb:
Heh, I just fixed this aswell last evening, but didn't have internet. I had the exact same fix :-)
Sometimes I wonder whether NULL pointer tests really solve these issues in all cases or if they sometimes just cover other underlying bugs (maybe the very fact that a NULL pointer is passed is wrong?). But in this case the fix seems to work fine; at least my exported pdf/ps files look good. :)
However, the crash unfortunately still occurs when one presses "Close" instead of "OK" in the pdf/ps options dialog which appears after the "Save file" dialog.
It's fairly traditional to use a NULL pointer to mean "not defined", so NULL pointer checks are quite standard and commonly used for controlling when certian logic should be invoked.
Bryce