1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-09-30 19:14:12 -04:00

insert-string can insert strings up to 512 characters.

This commit is contained in:
2014-06-04 11:32:50 +08:00
parent a560025c0c
commit 79b57c96d1
2 changed files with 11 additions and 3 deletions

View File

@@ -1231,11 +1231,11 @@ int fmatch(int ch)
int istring(int f, int n)
{
int status; /* status return code */
char tstring[ NSTRING + 1] ; /* string to add */
char tstring[ 512] ; /* string to add */
/* ask for string to insert */
status =
mlreplyt("String to insert<META>: ", tstring, NSTRING, metac) ;
mlreplyt("String to insert<META>: ", tstring, sizeof tstring - 1, metac) ;
if (status != TRUE)
return status;