diff --git a/source/input.c b/source/input.c index 24ae9e4..eb71a2d 100644 --- a/source/input.c +++ b/source/input.c @@ -513,7 +513,7 @@ void BX_set_input (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