Mercurial > vim
diff src/fileio.c @ 1848:cfcc1421f5e4 v7.2.146
updated for version 7.2-146
author | vimboss |
---|---|
date | Wed, 18 Mar 2009 14:42:00 +0000 |
parents | 03714c67a82b |
children | 63369d73b551 |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -6647,6 +6647,11 @@ buf_check_timestamp(buf, focus) tbuf = alloc((unsigned)(STRLEN(path) + STRLEN(mesg) + STRLEN(mesg2) + 2)); sprintf((char *)tbuf, mesg, path); +#ifdef FEAT_EVAL + /* Set warningmsg here, before the unimportant and output-specific + * mesg2 has been appended. */ + set_vim_var_string(VV_WARNINGMSG, tbuf, -1); +#endif #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG) if (can_reload) {