mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
LibChess: Fix typo that always created DebugCommands as "on"
This commit is contained in:
parent
8b7c5db186
commit
b904435866
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…
Add table
Add a link
Reference in a new issue