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 a5b5eef6c0
commit 85eb097677
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; 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."); DLOG("More than one container matched the swap command, only using the first one.");
} }