From 208e7858319b6b10c592b615fd5ef1559cf44b5b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 7 Dec 2009 16:35:18 +0000 Subject: fix comments --- src/empathy-chat-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 2ceb1e86d..903f18fbf 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1875,11 +1875,11 @@ empathy_chat_window_get_default (gboolean room) if (empathy_window_get_is_visible (GTK_WINDOW (dialog))) { nb_rooms = empathy_chat_window_get_nb_rooms (chat_window); - /* We add a new room only if the window has at least one room */ + /* Skip the window if there aren't any rooms in it */ if (room && nb_rooms == 0) continue; - /* We add a new 1-1 chat only if the window has at least one 1-1 chat */ + /* Skip the window if there aren't any 1-1 chats in it */ if (!room && nb_rooms > 0) continue; -- cgit v1.2.3