mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +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
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;
|
return 0;
|
||||||
},
|
},
|
||||||
context.leak_ptr());
|
context.leak_ptr());
|
||||||
ASSERT(rc == 0);
|
ASSERT(rc > 0);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue