mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
WindowServer: Don't reach the end of mode_to_enum() without returning.
This commit is contained in:
parent
2dd9ef6863
commit
8d7fbbe1fb
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ WallpaperMode mode_to_enum(const String& name)
|
|||
return WallpaperMode::Center;
|
||||
if (name == "scaled")
|
||||
return WallpaperMode::Scaled;
|
||||
return WallpaperMode::Simple;
|
||||
}
|
||||
|
||||
WSCompositor::WSCompositor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue