Follow-up Comment #9, bug #16887 (project freeciv):

> Thus, it should return NULL for all other operating systems. Is
> this OK:

Yes. Note that the definition of init should be pushed inside the conditional
block to avoid compilation warnings.

> This function is used for fileinfolist_infix() which needs an
> string vector as argument. It could be renamed to
> get_mapimg_dirs() which
>
>    * uses the current directory on *nix
>    * uses the directories returned by get_save_dirs() on other
> systems
>
> The mapimg file saving from the client is special as it is
> handled by the client and not by the server as are save games.

This looks a good compromise to me.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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