diff options
Diffstat (limited to '')
-rw-r--r-- | src/parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c index f49ee7d..d0e0553 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1487,8 +1487,7 @@ setprompt(int which) show = !el; #endif if (show) { - setstackmark(&smark); - stalloc(stackblocksize()); + pushstackmark(&smark, stackblocksize()); out2str(getprompt(NULL)); popstackmark(&smark); } |