> As I said, it is weekend and I've got a little time at my hands to look
> into this. The problem is indeed with the cacheing. A quick fix is this
> change to /sys/src/cmd/page/view.c:
> 
> 136,138c136
> <       if(im == nil)
> <               wexits(0);
> <       if(resizing)
> ---
>>       if(im && resizing)
> 
> I'm about to submit a patch with that for the powers that be. I haven't
> extensively tested the diff, but it is as unobtrusive as I could wish for.
> 
>       Martin

in order for im to return nil, this test has to be true

        if((page < 0 || page >= doc->npage) && !doc->fwdonly)
                return nil;

i think the question is, why is page out of range and what's it's value?

- erik

Reply via email to