mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
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: b46dbfe7e4
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
Add a link
Reference in a new issue