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


Subject: 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 - 09:56:48 CDT


Hi Adiran,
          My appologies. I thought I applied that. will do so PDQ.

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())
> {
> //
>
>
>
> --
> 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:56:57 CDT