summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 4287e8f6cd..7750c525b7 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2375,7 +2375,7 @@ failed:
linecnt = 0;
if (newfile || read_buffer)
{
- redraw_curbuf_later(NOT_VALID);
+ redraw_curbuf_later(UPD_NOT_VALID);
#ifdef FEAT_DIFF
// After reading the text into the buffer the diff info needs to
// be updated.