diff -r b5f7893fd4f6 -r 02f6c1c5fd06 plugins/include/string.inc --- a/plugins/include/string.inc Wed Apr 11 16:24:50 2007 +0000 +++ b/plugins/include/string.inc Wed Apr 11 20:07:20 2007 +0000 @@ -73,6 +73,7 @@ /** * Backwards compatible stock - StrCompare is now strcmp + * @deprecated Renamed to strcmp */ stock StrCompare(const String:str1[], const String:str2[], bool:caseSensitive=true) { @@ -104,7 +105,16 @@ * @param source Source string buffer to copy from. * @return Number of cells written. */ -native StrCopy(String:dest[], destLen, const String:source[]); +native strcopy(String:dest[], destLen, const String:source[]); + +/** + * Backwards compatibility stock - use strcopy + * @deprecated Renamed to strcopy + */ +stock StrCopy(String:dest[], destLen, const String:source[]) +{ + return strcopy(dest, destLen, source); +} /** * Formats a string according to the SourceMod format rules (see documentation).