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
> 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:
Message posté via/par Gna!
Freeciv-dev mailing list