summaryrefslogtreecommitdiff
path: root/src/core/misc.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-10 04:54:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-10 04:54:09 +0000
commit194dd60f36aff0d7df8b6e569caa056a96e1b606 (patch)
treed0858ce14095d64a2f732362a685ce4cf85d8623 /src/core/misc.h
parent0de0499fd86e9a5b996da2c2e9dd6df093ffeeaa (diff)
downloadirssi-194dd60f36aff0d7df8b6e569caa056a96e1b606.zip
/SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.
Forced max. 6 columns limit to /HELP git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/misc.h')
-rw-r--r--src/core/misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/misc.h b/src/core/misc.h
index 110aa14b..b56e8f97 100644
--- a/src/core/misc.h
+++ b/src/core/misc.h
@@ -78,7 +78,8 @@ char *my_asctime(time_t t);
/* Returns number of columns needed to print items.
save_column_widths is filled with length of each column. */
int get_max_column_count(GSList *items, COLUMN_LEN_FUNC len_func,
- int max_width, int item_extra, int item_min_size,
+ int max_width, int max_columns,
+ int item_extra, int item_min_size,
int **save_column_widths, int *rows);
/* Return a column sorted copy of a list. */