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

> Why do you changed also clients states? That's not very
> important, but it useless in this case. 

OK; so this part can be neglected.

> I think you should use the registry function
> secfile_lookup_str_int(), because secfile_lookup_str_default()
> and secfile_lookup_int_default() exits the server. (Until I
> finish my patch for registry). 

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
...

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to