summaryrefslogtreecommitdiff
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
commit9c6d6c0d0edba265c73c04901d0f2155173407b8 (patch)
treecb13c185a300c1223de323ae35605430bc795800
parent488b7e6bf64c170cea33f109088df261f198fc99 (diff)
downloadopenttd-9c6d6c0d0edba265c73c04901d0f2155173407b8.tar.xz
(svn r15625) -Codechange: remove unneeded assert
-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++ = '?';