ccmake: Factor clear line.
This commit is contained in:
parent
34cc537132
commit
1dd43c4c9d
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue