xW: print the separator line at the end of buffer

This commit is contained in:
Přemysl Eric Janouch 2024-11-14 13:31:24 +01:00
parent 05a41b2629
commit 46be4836df
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ buffer_print_line(std::vector<BufferLine>::const_iterator begin,
static void static void
buffer_print_separator() buffer_print_separator()
{ {
bool sameline = !GetWindowTextLength(g.hwndBuffer); bool sameline = !buffer_reset_selection();
CHARFORMAT2 format = default_charformat(); CHARFORMAT2 format = default_charformat();
format.dwEffects &= ~CFE_AUTOCOLOR; format.dwEffects &= ~CFE_AUTOCOLOR;