diff options
Diffstat (limited to 'src/preview_status_source.hh')
-rw-r--r-- | src/preview_status_source.hh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/preview_status_source.hh b/src/preview_status_source.hh index 25622b0..6f7dae3 100644 --- a/src/preview_status_source.hh +++ b/src/preview_status_source.hh @@ -60,22 +60,19 @@ public: this->tss_fields[TSF_TOGGLE].set_width(strlen(TOGGLE_MSG) + 1); this->tss_fields[TSF_TOGGLE].set_value(TOGGLE_MSG); this->tss_fields[TSF_TOGGLE].right_justify(true); - }; + } - size_t statusview_fields() override - { - return TSF__MAX; - }; + size_t statusview_fields() override { return TSF__MAX; } status_field& statusview_value_for_field(int field) override { return this->tss_fields[field]; - }; + } status_field& get_description() { return this->tss_fields[TSF_DESCRIPTION]; - }; + } private: status_field tss_fields[TSF__MAX]; |