ccmake: Factor clear line.

This commit is contained in:
Nicolas Despres 2012-02-05 15:09:37 +01:00
parent 34cc537132
commit 1dd43c4c9d
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
{