Follow-up Comment #1, bug #19503 (project wesnoth):

After seeing my autosave list grow to over 200 saves long, I decided to do a
little digging...

At line 466 in savegame.cpp (inside the remove_old_auto_saves() function),
there is a call to get_saves_list(), a function that takes up to two
parameters. The first parameter is to be a directory, the second a filter, and
they are not required (they default to NULL if not supplied). However, in line
466, a filter is supplied as the first parameter (and no second parameter is
supplied).

Probable fix: change "get_saves_list(&auto_save)" to "get_saves_list(NULL,
&auto_save)".

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to