Kernel: Fix logic typo in ConsoleManagement::is_initialized()

Regressed in 2ff3c54153.
This commit is contained in:
Andreas Kling 2021-08-08 22:24:39 +02:00
parent aaf232f903
commit cebdb0b575
Notes: sideshowbarker 2024-07-18 07:11:57 +09:00

View file

@ -29,7 +29,7 @@ bool ConsoleManagement::is_initialized()
return false;
if (s_the->m_consoles.is_empty())
return false;
if (s_the->m_active_console)
if (!s_the->m_active_console)
return false;
return true;
}