diff options
author | smatz <smatz@openttd.org> | 2009-03-06 00:41:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-03-06 00:41:58 +0000 |
commit | c3a7e6b693716232fd2aefab3f36bd555620b563 (patch) | |
tree | cb13c185a300c1223de323ae35605430bc795800 | |
parent | a92cd2b72e25d014cc12f44325ae0c0009a16ca5 (diff) | |
download | openttd-c3a7e6b693716232fd2aefab3f36bd555620b563.tar.xz |
(svn r15625) -Codechange: remove unneeded assert
-rw-r--r-- | src/string.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index f01786a97..52dfc260c 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -118,7 +118,6 @@ void str_validate(char *str, bool allow_newlines, bool ignore) str += len; continue; } - assert(c != '\r'); /* Replace the undesirable character with a question mark */ str += len; if (!ignore) *dst++ = '?'; |