blob: 4fc4062669355c86d5f5d093cda72e618adb96fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
xwin.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/xwin.c b/xwin.c
index f395909..092edff 100644
--- a/xwin.c
+++ b/xwin.c
@@ -27353,7 +27355,7 @@ char *errstr;
UpdateZME();
RedrawScroll(&zscroll);
}
- strcpy(ZMEerr,errstr);
+ strncpy(ZMEerr,errstr,MAXZMEERR);
RedrawStatus();
}
|