From: Jean-Marc Lasgouttes Date: Wed, 24 Jul 2024 16:51:35 +0000 (+0200) Subject: Fixup 6e81f317: cut and paste error X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=393f65c737b7857ba2cc610b15fe085d34dfb231;p=lyx.git Fixup 6e81f317: cut and paste error --- 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; }