summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 87515dc..f13d4a2 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -581,8 +581,8 @@ void cmCursesMainForm::UpdateStatusBar(const char* message)
// Now print both lines
curses_move(y-5,0);
attron(A_STANDOUT);
- char s[] = "%s";
- printw(s, bar);
+ char format[] = "%s";
+ printw(format, bar);
attroff(A_STANDOUT);
curses_move(y-4,0);
printw(version);