Follow-up Comment #1, bug #14657 (project freeciv):

fix version of the patch; I did miss one difference between both functions:

secfile_has_section() checks for a section (like [player1]) while
section_file_lookup() checks for an entry (like player1.name). As a name is
defined for every player use this value to decide if the player is present.

(file #7199)
    _______________________________________________________

Additional Item Attachment:

File name:
version2-0001-secfile_has_section-duplicates-section_file_lookup.diff Size:2
KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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