diff options
author | Brad King <brad.king@kitware.com> | 2016-12-12 19:21:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-12-12 19:21:27 (GMT) |
commit | d1d11f73a1a7d2d2ad949e9a4ad1c65f155f3cfa (patch) | |
tree | 7a8b2cc1b50622473fc47fff676e68a3d52b147b /Source/CursesDialog/ccmake.cxx | |
parent | 55ff3c78b3d0d08cdbc6dea700e2add6a64c988b (diff) | |
parent | b932cd429800bb24d71e1d60f954fe4df2d1eb5c (diff) | |
download | CMake-d1d11f73a1a7d2d2ad949e9a4ad1c65f155f3cfa.zip CMake-d1d11f73a1a7d2d2ad949e9a4ad1c65f155f3cfa.tar.gz CMake-d1d11f73a1a7d2d2ad949e9a4ad1c65f155f3cfa.tar.bz2 |
Merge topic 'clang-tidy'
b932cd42 clang-tidy: apply misc-redundant-expression fixes
88da3d68 clang-tidy: apply misc-suspicious-string-compare fixes
58c66393 clang-tidy: apply readability-static-definition-in-anonymous-namespace fixes
85bfddda clang-tidy: apply readability-redundant-control-flow fixes
2988abd9 clang-tidy: apply modernize-use-bool-literals fixes
a74e6893 clang-tidy: apply readability-redundant-string-init fixes
cac529dd clang-tidy: apply performance-faster-string-find fixes
7c9db8f8 clang-tidy: apply performance-unnecessary-value-param fixes
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 919be4d..ff8e010 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -52,8 +52,7 @@ void onsig(int /*unused*/) initscr(); /* Initialization */ noecho(); /* Echo off */ cbreak(); /* nl- or cr not needed */ - keypad(stdscr, TRUE); /* Use key symbols as - KEY_DOWN*/ + keypad(stdscr, true); /* Use key symbols as KEY_DOWN */ refresh(); int x, y; getmaxyx(stdscr, y, x); @@ -128,8 +127,7 @@ int main(int argc, char const* const* argv) initscr(); /* Initialization */ noecho(); /* Echo off */ cbreak(); /* nl- or cr not needed */ - keypad(stdscr, TRUE); /* Use key symbols as - KEY_DOWN*/ + keypad(stdscr, true); /* Use key symbols as KEY_DOWN */ signal(SIGWINCH, onsig); |