mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27: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;
|
return WallpaperMode::Center;
|
||||||
if (name == "scaled")
|
if (name == "scaled")
|
||||||
return WallpaperMode::Scaled;
|
return WallpaperMode::Scaled;
|
||||||
|
return WallpaperMode::Simple;
|
||||||
}
|
}
|
||||||
|
|
||||||
WSCompositor::WSCompositor()
|
WSCompositor::WSCompositor()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue