- ncopystring is not needed anymore.

This commit is contained in:
Christoph Oelckers 2017-02-19 01:14:31 +01:00
parent b1a7941414
commit c0dd37e16e
2 changed files with 0 additions and 18 deletions

View file

@ -95,23 +95,6 @@ char *copystring (const char *s)
return b; return b;
} }
//============================================================================
//
// ncopystring
//
// If the string has no content, returns NULL. Otherwise, returns a copy.
//
//============================================================================
char *ncopystring (const char *string)
{
if (string == NULL || string[0] == 0)
{
return NULL;
}
return copystring (string);
}
//========================================================================== //==========================================================================
// //
// ReplaceString // ReplaceString

View file

@ -38,7 +38,6 @@ int ParseHex(const char *str, FScriptPosition *sc = nullptr);
bool IsNum (const char *str); // [RH] added bool IsNum (const char *str); // [RH] added
char *copystring(const char *s); char *copystring(const char *s);
char *ncopystring(const char *s);
void ReplaceString (char **ptr, const char *str); void ReplaceString (char **ptr, const char *str);
bool CheckWildcards (const char *pattern, const char *text); bool CheckWildcards (const char *pattern, const char *text);