Subject: Another little bug when xset fp+ doesn't
From: Adrian Phillips (adrianp@powertech.no)
Date: Sat Jul 07 2001 - 15:13:51 CDT
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 : Sat Jul 07 2001 - 15:14:41 CDT