diff --git a/src/slint.c b/src/slint.c index 62c09c6ec..1ec2119f3 100644 --- a/src/slint.c +++ b/src/slint.c @@ -95,7 +95,7 @@ static unsigned int SLang_getkey2 (void) SLang_Input_Buffer_Len--; imax = SLang_Input_Buffer_Len; - memcpy ((char *) SLang_Input_Buffer, + memmove ((char *) SLang_Input_Buffer, (char *) (SLang_Input_Buffer + 1), imax); return(ch); }