Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem
Home

[Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2410) Tileset switching - another GTK problem
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 26 Nov 2002 02:25:05 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Nov 26, 2002 at 02:09:59AM -0800, Jason Short via RT wrote:
> >> void tileset_changed(void)
> >> {
> >>   reset_city_dialogs();
> >>+  reset_unit_table();
> >> }
> > 
> > 
> > reset is IMHO a bit too generic for these functions. But this only minor.
> 
> Suggestions?

city_dialogs_tileset_changed_notify

> > Have you audited the other issues (grep TILE_WIDTH client/gui-gtk/*.c)?
> 
> TILE_WIDTH doesn't do it: it takes UNIT_WIDTH to find the remaining 
> problems.  Fortunately I know this now :-).

It is UNIT_TILE_WIDTH and this is matched by "TILE_WIDTH" from above.

        RAimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Transported to a surreal landscape, a young girl kills the first woman
  she meets and then teams up with three complete strangers to kill again."
    -- TV listing for the Wizard of Oz in the Marin Independent Journal



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