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


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to