From 46be4836df99a9e4a29325c8df6c9970384ce471 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 14 Nov 2024 13:31:24 +0100 Subject: xW: print the separator line at the end of buffer --- xW/xW.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xW/xW.cpp b/xW/xW.cpp index 199adba..20ae32e 100644 --- a/xW/xW.cpp +++ b/xW/xW.cpp @@ -695,7 +695,7 @@ buffer_print_line(std::vector::const_iterator begin, static void buffer_print_separator() { - bool sameline = !GetWindowTextLength(g.hwndBuffer); + bool sameline = !buffer_reset_selection(); CHARFORMAT2 format = default_charformat(); format.dwEffects &= ~CFE_AUTOCOLOR; -- cgit v1.2.3-70-g09d2