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 Aug 28, 2023
1 parent 23f5071 commit 6001245
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 6001245

Please sign in to comment.