Fixup 6e81f317: cut and paste error

This commit is contained in:
Jean-Marc Lasgouttes 2024-07-24 18:51:35 +02:00
parent 999fb37ebb
commit 393f65c737

View File

@ -2048,7 +2048,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
Statistics & stats = buffer_.statistics(); Statistics & stats = buffer_.statistics();
stats.update(cur); stats.update(cur);
d->stats_ref_value_w_ = stats.word_count; 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; d->stats_ref_value_nb_ = stats.char_count;
break; break;
} }