Browse Source

use memmove() instead of memcpy() in ttyread().

master
Aurélien Aptel 14 years ago
parent
commit
54bc450dbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

@ -630,7 +630,7 @@ ttyread(void) {
} }
/* keep any uncomplete utf8 char for the next call */ /* keep any uncomplete utf8 char for the next call */
memcpy(buf, ptr, buflen);
memmove(buf, ptr, buflen);
} }
void void


Loading…
Cancel
Save