Some code improvements
This commit is contained in:
parent
e3b7a32265
commit
976f685ae0
|
@ -553,7 +553,7 @@ char* FOptiMove::cursor_move (int xold, int yold, int xnew, int ynew)
|
|||
if ( move_xy )
|
||||
{
|
||||
method = 0;
|
||||
strcpy (move_ptr, move_xy);
|
||||
strncpy (move_ptr, move_xy, sizeof(move_buf) - 1);
|
||||
move_time = F_cursor_address.duration;
|
||||
|
||||
if ( xold < 0
|
||||
|
|
Loading…
Reference in New Issue