1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

LibVT: Remove Vector<Kernel::KString> title stack

When using the kernel console, there's no such concept of title at all.
Also, this makes vim to crash the kernel due to dereferencing a null
pointer, so let's remove this as this is clearly not needed when using
the kernel virtual console.
This commit is contained in:
Liav A 2022-07-14 05:53:13 +03:00 committed by Andreas Kling
parent e93d19bbb1
commit b22149601a
2 changed files with 4 additions and 14 deletions

View file

@ -435,10 +435,7 @@ protected:
Attribute m_current_attribute;
Attribute m_saved_attribute;
#ifdef KERNEL
OwnPtr<Kernel::KString> m_current_window_title;
NonnullOwnPtrVector<Kernel::KString> m_title_stack;
#else
#ifndef KERNEL
String m_current_window_title;
Vector<String> m_title_stack;
#endif