about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-22 00:30:42 +0000
committerJames Booth <boothj5@gmail.com>2015-11-22 00:30:42 +0000
commit7a324abcd632a30b603586a1eef80eee4140e91a (patch)
treefec65f35e08fa060609fc4e113e662b265412d57 /src/command
parent5c08bea8d075714182ca898fcb68d5ad15605f0d (diff)
downloadprofani-tty-7a324abcd632a30b603586a1eef80eee4140e91a.tar.gz
Option to show presence information on single line in roster
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 18fa1bd9..3aa05950 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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);