URL:
  <http://gna.org/bugs/?21263>

                 Summary: get_tileset_list() (used in local settings dialog)
has side effects
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Thu Nov  7 00:36:50 2013
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 

    _______________________________________________________

Details:

Split from bug #21151 / bug #21116:

get_tileset_list() repeatedly calls tileset_read_toplevel() to get a list of
tilesets. However, it's documented as having side-effects, and whether or not
those comments are correct, it certainly calls set_city_names_font_sizes()
which has global side-effects.

Dunno whether that's best considered a bug in tileset_read_toplevel(). Maybe
there's a less invasive way to enumerate the existing tilesets?




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21263>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to