aboutsummaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 94daa3d4e6..498d53904c 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1615,11 +1615,9 @@ getcmdline_prompt (
/*
* Return TRUE when the text must not be changed and we can't switch to
- * another window or buffer. Used when editing the command line, evaluating
- * 'balloonexpr', etc.
+ * another window or buffer. Used when editing the command line etc.
*/
-int text_locked(void)
-{
+int text_locked(void) {
if (cmdwin_type != 0)
return TRUE;
return textlock != 0;