mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibChess: Fix typo that always created DebugCommands as "on"
This commit is contained in:
parent
8b7c5db186
commit
b904435866
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/b904435866 Pull-request: https://github.com/SerenityOS/serenity/pull/18487
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ DebugCommand DebugCommand::from_string(StringView command)
|
|||
if (tokens[1] == "on")
|
||||
return DebugCommand(Flag::On);
|
||||
if (tokens[1] == "off")
|
||||
return DebugCommand(Flag::On);
|
||||
return DebugCommand(Flag::Off);
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue