summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-14 13:31:24 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-14 13:50:51 +0100
commit46be4836df99a9e4a29325c8df6c9970384ce471 (patch)
tree4b505c2bf4cfb5bd9c7960f98b05b439ffa5669a
parent05a41b262980383ad15eee6ae0020f69639217db (diff)
downloadxK-46be4836df99a9e4a29325c8df6c9970384ce471.tar.gz
xK-46be4836df99a9e4a29325c8df6c9970384ce471.tar.xz
xK-46be4836df99a9e4a29325c8df6c9970384ce471.zip
xW: print the separator line at the end of buffer
-rw-r--r--xW/xW.cpp2
1 files changed, 1 insertions, 1 deletions
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<BufferLine>::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;