Re: [Pgui-devel] Scroll bar crashing the server

2001-08-08 Thread Micah Dowty
Found the problem. I didn't see it earlier because I was running at 320x240 instead of 640x480 I guess? When the scroll area is larger than or equal to it's preferred size, the scrollbar isn't necessary. This was causing a divide by zero when the scroll bar resolution was set to zero. It might

Re: [Pgui-devel] Scroll bar crashing the server

2001-08-08 Thread Olivier Bornet
Hello Micah, > I tried demo.c, but can't reproduce this bug. Make sure you have the > latest pgserver and client library. If it still doesn't work, let me > know exactly what CPU, theme, and resolution you are using. The attached file seem to correct the bug for me, both on Linux and XCopilot.

Re: [Pgui-devel] Scroll bar crashing the server

2001-08-08 Thread Olivier Bornet
Hello Micah, On Tue, Aug 07, 2001 at 07:37:42PM -0700, Micah Dowty wrote: > I tried demo.c, but can't reproduce this bug. Make sure you have the > latest pgserver and client library. If it still doesn't work, let me > know exactly what CPU, theme, and resolution you are using. Here is what I do

Re: [Pgui-devel] Scroll bar crashing the server

2001-08-07 Thread Micah Dowty
I tried demo.c, but can't reproduce this bug. Make sure you have the latest pgserver and client library. If it still doesn't work, let me know exactly what CPU, theme, and resolution you are using. On Tue, 07 August 2001, Olivier Bornet wrote: > > Hello all, > > the last version of PicoGUI s

[Pgui-devel] Scroll bar crashing the server

2001-08-07 Thread Olivier Bornet
Hello all, the last version of PicoGUI server crash when we put scrollbar in a pgDialogBox(). It seem to depend on the size of the box which have the text we want to scroll. Attached is a sample (derived from demo) which has the problem. If you look at lines 28 to 31 : - putting the line with P