diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-31 18:04:06 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-31 18:04:06 +0200 |
commit | b46dbfe7e49ea47c2e8b31e6b3472707631ee383 (patch) | |
tree | dc7fa4d05764620cf9ce79b84cae27a97e6b45f2 /Servers | |
parent | b36108dc3c658317a30dd22cc296b49e75c302de (diff) | |
download | serenity-b46dbfe7e49ea47c2e8b31e6b3472707631ee383.zip |
WindowServer: Fix bad assertion when setting wallpaper
The create_thread() syscall returns the thread ID now, not 0.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/WSCompositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSCompositor.cpp b/Servers/WindowServer/WSCompositor.cpp index dae11e64ac..2834ec1673 100644 --- a/Servers/WindowServer/WSCompositor.cpp +++ b/Servers/WindowServer/WSCompositor.cpp @@ -249,7 +249,7 @@ bool WSCompositor::set_wallpaper(const String& path, Function<void(bool)>&& call return 0; }, context.leak_ptr()); - ASSERT(rc == 0); + ASSERT(rc > 0); return true; } |