summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFilip H.F. "FiXato" Slagter <fixato+github+git@gmail.com>2021-05-27 18:00:25 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-27 18:14:18 +0200
commitd4f3bc596d3e5e5bfec054cb66afe22f9a615910 (patch)
tree562a7b347c2ed9bf2fb987f9abd2e9ad5991152a /src
parentddc5d56a65482bdb5a9ea5014b608d36dab0f631 (diff)
downloadweechat-d4f3bc596d3e5e5bfec054cb66afe22f9a615910.zip
clarify (max) bar size to be in chars/lines
(max) bar size was described to be in chars, though this only applies to the left/right bars. This change clarifies that top/bottom bars would have their size defined in lines.
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index 83e78bb3b..ad890404e 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -1438,7 +1438,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "integer",
- N_("bar size in chars (0 = auto size)"),
+ N_("bar size in chars (left/right bars) or lines (top/bottom bars) (0 = auto size)"),
NULL, 0, INT_MAX, value, NULL, 0,
&gui_bar_config_check_size, NULL, NULL,
&gui_bar_config_change_size, NULL, NULL,
@@ -1448,7 +1448,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
ptr_option = config_file_new_option (
weechat_config_file, weechat_config_section_bar,
option_name, "integer",
- N_("max bar size in chars (0 = no limit)"),
+ N_("max bar size in chars (left/right bars) or lines (top/bottom bars) (0 = no limit)"),
NULL, 0, INT_MAX, value, NULL, 0,
NULL, NULL, NULL,
&gui_bar_config_change_size_max, NULL, NULL,