diff options
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r-- | mbbsd/pmore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index e5aae141..69be7b2f 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1404,7 +1404,7 @@ mf_display() char buf[64]; // make sure ptt_prints will not exceed memset(buf, 0, sizeof(buf)); - strncpy(buf, (char*)mf.dispe, 3); // ^[[*s + memcpy(buf, mf.dispe, 3); // ^[*s mf.dispe += 2; if(bpref.rawmode) |