diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-04-21 14:35:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-24 20:58:35 +0200 |
commit | b9044358664e75ad8a90e590777c4724fc109de4 (patch) | |
tree | e8ef46967b15d35e3948d673e79815fa05accd65 /Userland | |
parent | 8b7c5db1867b9637e5b73a25a2e1aa469c52f15c (diff) | |
download | serenity-b9044358664e75ad8a90e590777c4724fc109de4.zip |
LibChess: Fix typo that always created DebugCommands as "on"
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibChess/UCICommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibChess/UCICommand.cpp b/Userland/Libraries/LibChess/UCICommand.cpp index 94799b30fa..7c157dc80d 100644 --- a/Userland/Libraries/LibChess/UCICommand.cpp +++ b/Userland/Libraries/LibChess/UCICommand.cpp @@ -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(); } |