diff options
author | rubidium <rubidium@openttd.org> | 2014-04-21 18:35:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-04-21 18:35:12 +0000 |
commit | f0d5f754b65eb84b2f30c0d46a53910c19c0475c (patch) | |
tree | 959b91a6d6111a493fcf6f4d339cd5ce0c47bca6 /src | |
parent | b3129ce7bfc58ae7bf9a1ecc161902558e32e4cd (diff) | |
download | openttd-f0d5f754b65eb84b2f30c0d46a53910c19c0475c.tar.xz |
(svn r26480) -Fix (r26479): forgot to remove a *
Diffstat (limited to 'src')
-rw-r--r-- | src/stringfilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stringfilter.cpp b/src/stringfilter.cpp index 780b4a8d6..98392bed6 100644 --- a/src/stringfilter.cpp +++ b/src/stringfilter.cpp @@ -32,7 +32,7 @@ void StringFilter::SetFilterTerm(const char *str) assert(str != NULL); - char *dest = MallocT<char *>(strlen(str) + 1); + char *dest = MallocT<char>(strlen(str) + 1); this->filter_buffer = dest; WChar state = STATE_WHITESPACE; |