Option to show presence information on single line in roster

This commit is contained in:
James Booth
2015-11-22 00:30:42 +00:00
parent 5c08bea8d0
commit 7a324abcd6
5 changed files with 94 additions and 44 deletions

View File

@@ -1821,7 +1821,7 @@ cmd_roster(ProfWin *window, const char *const command, gchar **args)
} else {
int intval = 0;
char *err_msg = NULL;
gboolean res = strtoi_range(args[2], &intval, 0, 10, &err_msg);
gboolean res = strtoi_range(args[2], &intval, -1, 10, &err_msg);
if (res) {
prefs_set_roster_presence_indent(intval);
cons_show("Roster presence indent set to: %d", intval);