From 393f65c737b7857ba2cc610b15fe085d34dfb231 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 24 Jul 2024 18:51:35 +0200 Subject: [PATCH] Fixup 6e81f317: cut and paste error --- src/BufferView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index f754186d07..4c2a49546c 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -2048,7 +2048,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr) Statistics & stats = buffer_.statistics(); stats.update(cur); d->stats_ref_value_w_ = stats.word_count; - d->stats_ref_value_c_ = stats.char_count; + stats.blank_count; + d->stats_ref_value_c_ = stats.char_count + stats.blank_count; d->stats_ref_value_nb_ = stats.char_count; break; } -- 2.39.5