about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-04-18 20:56:51 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-04-20 20:35:37 +0200
commit62c23233f7ecb86c07b5963282d774fd98426a55 (patch)
tree7b0b131d1821df4f20deaac05c451233e7f1353e /src/ui
parent0c248a0b16e9c159b274667c7149f50299328804 (diff)
downloadprofani-tty-62c23233f7ecb86c07b5963282d774fd98426a55.tar.gz
Allow setting occupants indent outside of MUC
And when not connected.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/occupantswin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/occupantswin.c b/src/ui/occupantswin.c
index 3799046c..37dfb9e2 100644
--- a/src/ui/occupantswin.c
+++ b/src/ui/occupantswin.c
@@ -49,9 +49,7 @@ _occuptantswin_occupant(ProfLayoutSplit *layout, Occupant *occupant, gboolean sh
     GString *msg = g_string_new(" ");
 
     int indent = prefs_get_occupants_indent();
-    int current_indent = 0;
     if (indent > 0) {
-        current_indent += indent;
         while (indent > 0) {
             g_string_append(msg, " ");
             indent--;