Invert condition to log debug message in correct situation (#2896)

This commit is contained in:
Ingo Bürk 2017-09-05 09:01:53 +02:00 committed by Michael Stapelberg
parent 09ee12d8e5
commit dedfda1e01
1 changed files with 1 additions and 1 deletions

View File

@ -1854,7 +1854,7 @@ void cmd_swap(I3_CMD, const char *mode, const char *arg) {
return;
}
if (match == TAILQ_LAST(&owindows, owindows_head)) {
if (match != TAILQ_LAST(&owindows, owindows_head)) {
DLOG("More than one container matched the swap command, only using the first one.");
}