[Freeciv-Dev] Re: (PR#7499) problems with detachable panes
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7499 >
On Tue, Feb 24, 2004 at 09:33:12AM -0800, Vasco Alexandre da Silva Costa wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7499 >
>
> > [vasc - Tue Feb 24 17:32:02 2004]:
> >
> > I think I know why the bug happens. The code used to draw directly to
> > 'overview_canvas->window'. Now you copy the pointer to a struct, and use
> > that pointer. But what if the pointer value in the original
> > 'overview_canvas' was changed uh? Yep. Boom!
> >
> > I'm working on a fix.
>
> Yep, that was the bug allright. Confirmed it with a debug printf. Here
> is a fix.
I see that I caused this.
The fix isn't this nice. And the other clients may have the same
problem. The alternative would be a new function get_overview_window.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
-- Rich Cook
|
|