From: H.G.Muller Date: Thu, 29 Jan 2015 10:20:37 +0000 (+0100) Subject: Ignore Tab in ICS Interaction if no chats assigned X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=98f21f8d29dc5127776a107f8c4c492675c9d6e6;p=xboard.git Ignore Tab in ICS Interaction if no chats assigned Thuis used to open a new chat, but Ctl-N exists for that now. --- diff --git a/dialogs.c b/dialogs.c index 0377031..776c425 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1923,7 +1923,7 @@ IcsHist (int n, Option *opt, DialogClass dlg) while(!dirty[chat = (chat + 1)%MAX_CHAT]) if(chat == start) break; if(!dirty[chat]) while(!chatPartner[chat = (chat + 1)%MAX_CHAT][0]) if(chat == start) break; - if(chat == start && hidden) chat = 0; // if all unused, start left + if(chat == start && hidden) break; // if all unused, ignore ChatSwitch(chat + 1); break; case 1: