summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-03-06 00:41:58 +0000
committersmatz <smatz@openttd.org>2009-03-06 00:41:58 +0000
commitc3a7e6b693716232fd2aefab3f36bd555620b563 (patch)
treecb13c185a300c1223de323ae35605430bc795800 /src
parenta92cd2b72e25d014cc12f44325ae0c0009a16ca5 (diff)
downloadopenttd-c3a7e6b693716232fd2aefab3f36bd555620b563.tar.xz
(svn r15625) -Codechange: remove unneeded assert
Diffstat (limited to 'src')
-rw-r--r--src/string.cpp1
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++ = '?';