diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_spreadsheet/space_spreadsheet.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc index 05759c1b510..0f7709b464e 100644 --- a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc +++ b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc @@ -274,9 +274,13 @@ static void spreadsheet_footer_region_draw(const bContext *C, ARegion *region) std::stringstream ss; ss << "Rows: "; if (runtime->visible_rows != runtime->tot_rows) { - ss << runtime->visible_rows << " / "; + char visible_rows_str[16]; + BLI_str_format_int_grouped(visible_rows_str, runtime->visible_rows); + ss << visible_rows_str << " / "; } - ss << runtime->tot_rows << " | Columns: " << runtime->tot_columns; + char tot_rows_str[16]; + BLI_str_format_int_grouped(tot_rows_str, runtime->tot_rows); + ss << tot_rows_str << " | Columns: " << runtime->tot_columns; std::string stats_str = ss.str(); UI_ThemeClearColor(TH_BACK); |