1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-09-26 15:04:04 -04:00

Avoid calling mlwrite with computed string as format parameter.

This commit is contained in:
2015-02-15 17:32:13 +08:00
parent 2b8992350d
commit e556f7714b
2 changed files with 4 additions and 9 deletions

View File

@@ -512,7 +512,7 @@ int getstring( const char *prompt, char *buf, int nbuf, int eolchar)
quotef = FALSE;
/* prompt the user for the input string */
mlwrite(prompt);
mlwrite( "%s", prompt);
for (;;) {
#if COMPLC