summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2012-02-05 15:56:47 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-06 15:23:50 (GMT)
commit415ffda7a8ca0dfea2e00353a65fb31d8fadfb75 (patch)
tree887df3ff3580787588033884d1782ad43df6e8cc
parent1dd43c4c9d6d921b38288802d0560f92c90a0c08 (diff)
downloadCMake-415ffda7a8ca0dfea2e00353a65fb31d8fadfb75.zip
CMake-415ffda7a8ca0dfea2e00353a65fb31d8fadfb75.tar.gz
CMake-415ffda7a8ca0dfea2e00353a65fb31d8fadfb75.tar.bz2
ccmake: Extend clear line.
When configuring or generating the 'ng' of the end of the second line is not cleared. This patch fixes this. The problem was introduced by commit fd632195 (ccmake: Align 'g' and 'q' key instructions, 2011-01-07) which adjusted the length of lines that need clearing.
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 6b7d89e..4fee0bb 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -410,7 +410,7 @@ void cmCursesMainForm::PrintKeys(int process /* = 0 */)
if (process)
{
const char* clearLine =
- " ";
+ " ";
strcpy(firstLine, clearLine);
strcpy(secondLine, clearLine);
strcpy(thirdLine, clearLine);