diff mcabber/src/commands.c @ 212:465d98d2f8e3

[/trunk] Changeset 224 by mikael * Fix a small annoyance in the /move command (when moving to a folded group) * commands.c: add a comment
author mikael
date Sun, 08 May 2005 19:59:04 +0000
parents f64818ba3503
children 4fcdbfdf7c20
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sun May 08 11:24:01 2005 +0000
+++ b/mcabber/src/commands.c	Sun May 08 19:59:04 2005 +0000
@@ -321,6 +321,9 @@
   if (!current_buddy) return;
 
   group = buddy_getgroup(BUDDATA(current_buddy));
+  // 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));
 
   if (!(buddy_gettype(group) & ROSTER_TYPE_GROUP)) {