summary refs log tree commit diff stats
path: root/src/fe-gtk/chanlist.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 13:49:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 13:49:28 +0200
commitbf27d4305288872507e1c6283df91783785c1b1e (patch)
treee114c37041661c90084d38a60a0a4ecc0be2fe6e /src/fe-gtk/chanlist.c
parent87e903cd739ae68aaadd086ebb2b831680e882cb (diff)
Variable cleanup for gui_*
Diffstat (limited to 'src/fe-gtk/chanlist.c')
-rw-r--r--src/fe-gtk/chanlist.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c
index af40e3eb..54348565 100644
--- a/src/fe-gtk/chanlist.c
+++ b/src/fe-gtk/chanlist.c
@@ -548,7 +548,7 @@ static void
 chanlist_minusers (GtkSpinButton *wid, server *serv)
 {
 	serv->gui->chanlist_minusers = gtk_spin_button_get_value_as_int (wid);
-	prefs.gui_chanlist_minusers = serv->gui->chanlist_minusers;
+	prefs.hex_gui_chanlist_minusers = serv->gui->chanlist_minusers;
 
 	if (serv->gui->chanlist_minusers < serv->gui->chanlist_minusers_downloaded)
 	{
@@ -569,7 +569,7 @@ static void
 chanlist_maxusers (GtkSpinButton *wid, server *serv)
 {
 	serv->gui->chanlist_maxusers = gtk_spin_button_get_value_as_int (wid);
-	prefs.gui_chanlist_maxusers = serv->gui->chanlist_maxusers;
+	prefs.hex_gui_chanlist_maxusers = serv->gui->chanlist_maxusers;
 }
 
 static void
@@ -739,22 +739,22 @@ chanlist_opengui (server *serv, int do_refresh)
 
 	if (!serv->gui->chanlist_minusers)
 	{
-		if (prefs.gui_chanlist_minusers < 1 || prefs.gui_chanlist_minusers > 999999)
+		if (prefs.hex_gui_chanlist_minusers < 1 || prefs.hex_gui_chanlist_minusers > 999999)
 		{
-			prefs.gui_chanlist_minusers = 5;
+			prefs.hex_gui_chanlist_minusers = 5;
 		}
 
-		serv->gui->chanlist_minusers = prefs.gui_chanlist_minusers;
+		serv->gui->chanlist_minusers = prefs.hex_gui_chanlist_minusers;
 	}
 
 	if (!serv->gui->chanlist_maxusers)
 	{
-		if (prefs.gui_chanlist_maxusers < 1 || prefs.gui_chanlist_maxusers > 999999)
+		if (prefs.hex_gui_chanlist_maxusers < 1 || prefs.hex_gui_chanlist_maxusers > 999999)
 		{
-			prefs.gui_chanlist_maxusers = 9999;
+			prefs.hex_gui_chanlist_maxusers = 9999;
 		}
 
-		serv->gui->chanlist_maxusers = prefs.gui_chanlist_maxusers;
+		serv->gui->chanlist_maxusers = prefs.hex_gui_chanlist_maxusers;
 	}
 
 	serv->gui->chanlist_window =