fixed linux build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40841
This commit is contained in:
David Anderson 2007-05-22 23:00:12 +00:00
parent 5a50d8ca0a
commit 4db651b4de

View File

@ -963,7 +963,6 @@ char *UTIL_ReplaceEx(char *subject, size_t maxLen, const char *search, size_t se
/* See if we get a comparison */
if (strncmp(ptr, search, searchLen) == 0)
{
char *retPtr = NULL;
if (replaceLen > searchLen)
{
/* First, see if we have enough space to do this operation */