Follow-up Comment #10, patch #2019 (project freeciv):

Patch attached:
* Use client_is_global_observer() instead of client_is_observer() when needed
because client_is_observer() also handle connection observing a single player
(TRUE == pconn->observer && NULL != pconn->playing).
* Fixed the usage of sizeof() on a _const char *_ variable, because it always
returns the same value (the size of the pointer), it wasn't not what was
expected ('\0' != str[0]).
* Cleanup in the savegame/scenario/mapimg saving.

There are still some problems:
* It reads the files from the save directories, but saves them in the current
directory.
* File names are duplicated when getting the list (Save as...).


(file #10808)
    _______________________________________________________

Additional Item Attachment:

File name: trunk_client_gtk2_mapimg.diff  Size:49 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2019>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to