Use strlcpy, rather than strmcpy, in set_input_heb().

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@369 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-08-26 08:06:36 +00:00
parent fafd888528
commit 4de9626a99

View File

@@ -513,7 +513,7 @@ void BX_set_input (char *str)
*/ */
void BX_set_input_heb (char *str) void BX_set_input_heb (char *str)
{ {
strmcpy(INPUT_BUFFER + MIN_POS, str, INPUT_BUFFER_SIZE - MIN_POS); strlcpy(INPUT_BUFFER + MIN_POS, str, INPUT_BUFFER_SIZE - MIN_POS);
} }
#endif #endif