From cda181e5361545bf557322a9431856390a215c80 Mon Sep 17 00:00:00 2001 From: Cyril Date: Fri, 8 Mar 2019 19:40:22 +0100 Subject: [PATCH] Inverting if() condition --- src/CalcManager/UnitConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalcManager/UnitConverter.cpp b/src/CalcManager/UnitConverter.cpp index 013a7fc5..e9d8633c 100644 --- a/src/CalcManager/UnitConverter.cpp +++ b/src/CalcManager/UnitConverter.cpp @@ -496,7 +496,7 @@ wstring UnitConverter::Unquote(const wstring& s) /// Command enum representing the command that was entered void UnitConverter::SendCommand(Command command) { - if (CheckLoad()) + if (!CheckLoad()) { return; }