WindowServer: Fix bad assertion when setting wallpaper
The create_thread() syscall returns the thread ID now, not 0.
This commit is contained in:
parent
b36108dc3c
commit
b46dbfe7e4
Notes:
sideshowbarker
2024-07-19 12:58:17 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b46dbfe7e49
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue