diff mcabber/mcabber/screen.c @ 2009:a859ed648638

Replace the option « no_space_before_items » with « roster_no_leading_space ».
author Simon Jacquin <simon@jacquin.me>
date Tue, 28 Feb 2012 20:26:22 +0100
parents 0d5ece2324c6
children 2039ea6bd7a5
line wrap: on
line diff
--- a/mcabber/mcabber/screen.c	Fri Jan 27 22:09:26 2012 +0100
+++ b/mcabber/mcabber/screen.c	Tue Feb 28 20:26:22 2012 +0100
@@ -127,7 +127,7 @@
 static int chatmode;
 static int multimode;
 static char *multiline, *multimode_subj;
-static int no_space_before_items;
+static int roster_no_leading_space;
 
 static bool Curses;
 static bool log_win_on_top;
@@ -1545,7 +1545,7 @@
   int chat_y_pos, chatstatus_y_pos, log_y_pos;
   int roster_x_pos, chat_x_pos;
 
-  no_space_before_items = settings_opt_get_int("no_space_before_items");
+  roster_no_leading_space = settings_opt_get_int("roster_no_leading_space");
 
   Log_Win_Height = DEFAULT_LOG_WIN_HEIGHT;
   requested_size = settings_opt_get_int("log_win_height");
@@ -2005,7 +2005,7 @@
     x_pos = 0;
 
   space = g_new0(char, 2);
-  if (no_space_before_items) {
+  if (roster_no_leading_space) {
     space[0] = '\0';
     prefix_length = 6;
   } else {