Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
hevake committed Jun 9, 2024
1 parent cae1671 commit 3c9c910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/terminal/helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ NodeToken AddFuncNode(TerminalNodes &terminal, NodeToken parent_node, const std:
CatchThrowQuietly([&] { new_value = std::stoi(str); is_ok = true; });
if (is_ok) {
if (new_value < profile.min_value || new_value > profile.max_value) {
oss << "fail, out of range\r\n";
oss << "fail, out of range.\r\n";
is_ok = false;
}
}
Expand Down Expand Up @@ -379,7 +379,7 @@ NodeToken AddFuncNode(TerminalNodes &terminal, NodeToken parent_node, const std:
CatchThrowQuietly([&] { new_value = std::stod(str); is_ok = true; });
if (is_ok) {
if (new_value < profile.min_value || new_value > profile.max_value) {
oss << "fail, out of range\r\n";
oss << "fail, out of range.\r\n";
is_ok = false;
}
}
Expand Down

0 comments on commit 3c9c910

Please sign in to comment.