Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()
Home

[Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11174) client segfaults w/o map_canvas_resized()
From: Frédéric Brière <fbriere@xxxxxxxxxxx>
Date: Tue, 30 Nov 2004 04:30:31 -0500

On Fri, Nov 26, 2004 at 02:40:22PM -0500, Frédéric Brière wrote:
>  void init_mapcanvas_and_overview(void)
>  {
> +  /* Create a dummy map to make sure mapview_canvas.store is never NULL */
> +  map_canvas_resized(1, 1);
>  }

Maybe I'm calling init_mapcanvas_and_overview() too late, but this is
causing my map to start out as one single tile.  You might want to check
the other clients just to be sure.  (Gosh, I hope it's just me.)


-- 
             Frédéric Brière    <*>    fbriere@xxxxxxxxxxx

 =>  <fbriere@xxxxxxxxxx> IS NO MORE:  <http://www.abacomsucks.com>  <=



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