Mercurial > vim
changeset 1397:6df4e719ce4e v7.1.112
updated for version 7.1-112
author | vimboss |
---|---|
date | Sun, 16 Sep 2007 12:21:16 +0000 |
parents | 3e0f9984e98e |
children | 2ab007070fc8 |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -11565,14 +11565,12 @@ get_user_input(argvars, rettv, inputdial char_u *xp_arg = NULL; rettv->v_type = VAR_STRING; + rettv->vval.v_string = NULL; #ifdef NO_CONSOLE_INPUT /* While starting up, there is no place to enter text. */ if (no_console_input()) - { - rettv->vval.v_string = NULL; - return; - } + return; #endif cmd_silent = FALSE; /* Want to see the prompt. */