Follow-up Comment #3, patch #1355 (project freeciv):

> secfile_lookup_str_int() exists the server if the section does
> not exists. The other two functions return the default value if
> the section does not exists and exit the server only if the
> section exists but is no string / int ...

lol, that's why I don't like the current registry interface.  There is also a
section_file_lookup() which could be used to know if the section exists or
not...


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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