[Commits] [wesnoth/wesnoth] 220ac5: Disable control characters in autogenerated filena...

GitHub noreply at github.com
Sat Jan 20 16:08:32 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 220ac5f276c91b5f18ecc89918cf3864e644bea7
      https://github.com/wesnoth/wesnoth/commit/220ac5f276c91b5f18ecc89918cf3864e644bea7
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-01-20 (Sat, 20 Jan 2018)

  Changed paths:
    M src/savegame.cpp

  Log Message:
  -----------
  Disable control characters in autogenerated filenames (#2366)

On Windows, win32 programs such as Wesnoth aren't allowed to use control
characters in filenames, and therefore attempting to create a save file
whose name contains control characters will always fail. In addition, some
control characters (newlines in particular) also break Wesnoth's UI, as
regular text fields aren't intended to display multiple lines.

Fixes #2366.





More information about the Commits mailing list