another overlapping_strcpy

This commit is contained in:
Denis Vlasenko 2008-07-22 20:25:24 +00:00
parent 0f293b96dc
commit 41660c5b2d

View File

@ -345,7 +345,7 @@ static void input_delete(int save)
}
#endif
strcpy(command_ps + j, command_ps + j + 1);
overlapping_strcpy(command_ps + j, command_ps + j + 1);
command_len--;
input_end(); /* rewrite new line */
cmdedit_set_out_char(' '); /* erase char */