summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;