Skip to content

Commit

Permalink
ran clang-format on linux ncurses scanner example
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Dec 3, 2023
1 parent eea4ae8 commit 6d60858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples_linux/ncurses/scanner_curses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ int main(int argc, char** argv)
getline(cin, input);
if (input.length()) {
duration = stoi(input);
if (!duration) input.clear();
if (!duration)
input.clear();
}
}

Expand Down

0 comments on commit 6d60858

Please sign in to comment.