Invert condition to log debug message in correct situation (#2896)
This commit is contained in:
committed by
Michael Stapelberg
parent
a5b5eef6c0
commit
85eb097677
@ -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.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user