diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-19 20:24:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-19 20:24:03 +0200 |
commit | c5730ed6a3128eab2ccf7275195c67877ec87708 (patch) | |
tree | 4d49e122893c40d8e6a19160b05533a74ec77d7a /Servers/WindowServer | |
parent | c45e16f6052abdb04e1145db1208476264e4c57d (diff) | |
download | serenity-c5730ed6a3128eab2ccf7275195c67877ec87708.zip |
WindowServer: Fix AppletManager build
Diffstat (limited to 'Servers/WindowServer')
-rw-r--r-- | Servers/WindowServer/AppletManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/AppletManager.cpp b/Servers/WindowServer/AppletManager.cpp index e07fd46220..855ff3bcd3 100644 --- a/Servers/WindowServer/AppletManager.cpp +++ b/Servers/WindowServer/AppletManager.cpp @@ -79,7 +79,7 @@ void AppletManager::add_applet(Window& applet) quick_sort(m_applets, [](auto& a, auto& b) { auto index_a = order_vector.find_first_index(a->title()); auto index_b = order_vector.find_first_index(b->title()); - return index_a.value_or("") > index_b.value_or(""); + return index_a.value_or(0) > index_b.value_or(0); }); calculate_applet_rects(MenuManager::the().window()); |