Mercurial > vim
comparison src/fileio.c @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
patch 9.0.0206: redraw flags are not named specifically
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | 827d9f2b7a71 |
children | 6c7eddcce52c |
comparison
equal
deleted
inserted
replaced
29731:df7f360215b7 | 29732:89e1d67814a9 |
---|---|
2373 linecnt = curbuf->b_ml.ml_line_count - linecnt; | 2373 linecnt = curbuf->b_ml.ml_line_count - linecnt; |
2374 if (filesize == 0) | 2374 if (filesize == 0) |
2375 linecnt = 0; | 2375 linecnt = 0; |
2376 if (newfile || read_buffer) | 2376 if (newfile || read_buffer) |
2377 { | 2377 { |
2378 redraw_curbuf_later(NOT_VALID); | 2378 redraw_curbuf_later(UPD_NOT_VALID); |
2379 #ifdef FEAT_DIFF | 2379 #ifdef FEAT_DIFF |
2380 // After reading the text into the buffer the diff info needs to | 2380 // After reading the text into the buffer the diff info needs to |
2381 // be updated. | 2381 // be updated. |
2382 diff_invalidate(curbuf); | 2382 diff_invalidate(curbuf); |
2383 #endif | 2383 #endif |