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

View File

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