Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] (PR#7499) problems with detachable panes
Home

[Freeciv-Dev] (PR#7499) problems with detachable panes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#7499) problems with detachable panes
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 24 Feb 2004 09:33:12 -0800
Reply-to: rt@xxxxxxxxxxx

<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.

Attachment: overview.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]