Merge topic 'fix-ccmake-clear'

415ffda ccmake: Extend clear line.
1dd43c4 ccmake: Factor clear line.
This commit is contained in:
David Cole 2012-02-07 15:35:58 -05:00 committed by CMake Topic Stage
commit 3f359596a0
1 changed files with 5 additions and 6 deletions

View File

@ -409,12 +409,11 @@ void cmCursesMainForm::PrintKeys(int process /* = 0 */)
char thirdLine[512]="";
if (process)
{
sprintf(firstLine,
" ");
sprintf(secondLine,
" ");
sprintf(thirdLine,
" ");
const char* clearLine =
" ";
strcpy(firstLine, clearLine);
strcpy(secondLine, clearLine);
strcpy(thirdLine, clearLine);
}
else
{