changeset 958:30b799632653

Cosmetics (change a variable name)
author Mikael Berthe <mikael@lilotux.net>
date Sat, 09 Sep 2006 13:07:59 +0200
parents 82aaa7afbd03
children 8bf36cef8aa6
files mcabber/src/commands.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sat Sep 02 14:59:37 2006 +0200
+++ b/mcabber/src/commands.c	Sat Sep 09 13:07:59 2006 +0200
@@ -677,7 +677,7 @@
 static void do_group(char *arg)
 {
   gpointer group;
-  guint leave_windowbuddy;
+  guint leave_buddywindow;
 
   if (!*arg) {
     scr_LogPrint(LPRINT_NORMAL, "Missing parameter.");
@@ -692,7 +692,7 @@
   // We'll have to redraw the chat window if we're not currently on the group
   // entry itself, because it means we'll have to leave the current buddy
   // chat window.
-  leave_windowbuddy = (group != BUDDATA(current_buddy));
+  leave_buddywindow = (group != BUDDATA(current_buddy));
 
   if (!(buddy_gettype(group) & ROSTER_TYPE_GROUP)) {
     scr_LogPrint(LPRINT_NORMAL, "You need to select a group.");
@@ -713,7 +713,7 @@
 
   buddylist_build();
   update_roster = TRUE;
-  if (leave_windowbuddy) scr_ShowBuddyWindow();
+  if (leave_buddywindow) scr_ShowBuddyWindow();
 }
 
 static int send_message_to(const char *jid, const char *msg, const char *subj)