Subject: Patch: core dump when xset fails in abiword wrapper script
From: Adrian Phillips (adrianp@powertech.no)
Date: Thu Jul 19 2001 - 09:23:05 CDT
[Resend as it doesn't seem to have been picked up possibly because it
is incorrect ?
]
Without this abiword core dumps when xset fp+ fails and you don't get
to see the nice warning box.
Sincerely,
Adrian Phillips
--- src/wp/ap/unix/ap_UnixLeftRuler.cpp.orig Sat Jul 7 22:11:13 2001
+++ src/wp/ap/unix/ap_UnixLeftRuler.cpp Sat Jul 7 22:11:35 2001
@@ -366,7 +366,7 @@
UT_Rect localCopy;
AP_UnixLeftRuler * pR = static_cast<AP_UnixLeftRuler *>(p);
GR_Graphics * pG = pR->getGraphics();
- if(pG->isDontRedraw())
+ if(pG == NULL || pG->isDontRedraw())
{
//
-- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [OK]
This archive was generated by hypermail 2b25 : Thu Jul 19 2001 - 09:23:46 CDT