Mercurial > vim
comparison src/register.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 | d564107db756 |
children | 31c598083364 |
comparison
equal
deleted
inserted
replaced
29731:df7f360215b7 | 29732:89e1d67814a9 |
---|---|
389 | 389 |
390 if (p_ch < 1) | 390 if (p_ch < 1) |
391 { | 391 { |
392 // Enable macro indicator temporarily | 392 // Enable macro indicator temporarily |
393 set_option_value((char_u *)"ch", 1L, NULL, 0); | 393 set_option_value((char_u *)"ch", 1L, NULL, 0); |
394 update_screen(VALID); | 394 update_screen(UPD_VALID); |
395 | 395 |
396 changed_cmdheight = TRUE; | 396 changed_cmdheight = TRUE; |
397 } | 397 } |
398 } | 398 } |
399 } | 399 } |
425 | 425 |
426 if (changed_cmdheight) | 426 if (changed_cmdheight) |
427 { | 427 { |
428 // Restore cmdheight | 428 // Restore cmdheight |
429 set_option_value((char_u *)"ch", 0L, NULL, 0); | 429 set_option_value((char_u *)"ch", 0L, NULL, 0); |
430 redraw_all_later(CLEAR); | 430 redraw_all_later(UPD_CLEAR); |
431 } | 431 } |
432 } | 432 } |
433 return retval; | 433 return retval; |
434 } | 434 } |
435 | 435 |