commit:Re: Patch: core dump when xset fails in abiword wrapper script


Subject: commit:Re: Patch: core dump when xset fails in abiword wrapper script
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Jul 19 2001 - 21:58:37 CDT


Dom committed this last night but couldn't tell anyone coz his email was
stuffed.

Cheers

Martin

On Thu, 19 Jul 2001, Adrian Phillips wrote:

>
> [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())



This archive was generated by hypermail 2b25 : Thu Jul 19 2001 - 21:58:51 CDT