summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-01-02 21:45:30 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-01-02 21:45:30 (GMT)
commitb4e27e979556e89dc6bb6c8517cc71d20a717c69 (patch)
tree190144be530353699997d98a2deb0ccb0637b1a5 /Source/CursesDialog
parent79d9bd8a59328b5c51dd10e1d49888ebd05a562f (diff)
downloadCMake-b4e27e979556e89dc6bb6c8517cc71d20a717c69.zip
CMake-b4e27e979556e89dc6bb6c8517cc71d20a717c69.tar.gz
CMake-b4e27e979556e89dc6bb6c8517cc71d20a717c69.tar.bz2
prints the relese version
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx4
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index ab988ff..823b78c 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -63,8 +63,8 @@ void cmCursesLongMessageForm::UpdateStatusBar()
char version[cmCursesMainForm::MAX_WIDTH];
char vertmp[128];
- sprintf(vertmp,"CMake Version %d.%d", cmMakefile::GetMajorVersion(),
- cmMakefile::GetMinorVersion());
+ sprintf(vertmp,"CMake Version %d.%d - %s", cmMakefile::GetMajorVersion(),
+ cmMakefile::GetMinorVersion(),cmMakefile::GetReleaseVersion());
int sideSpace = (width-strlen(vertmp));
for(int i=0; i<sideSpace; i++) { version[i] = ' '; }
sprintf(version+sideSpace, "%s", vertmp);
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index b40753c..6e4bebb 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -471,8 +471,8 @@ void cmCursesMainForm::UpdateStatusBar()
// We want to display this on the right
char version[cmCursesMainForm::MAX_WIDTH];
char vertmp[128];
- sprintf(vertmp,"CMake Version %d.%d", cmMakefile::GetMajorVersion(),
- cmMakefile::GetMinorVersion());
+ sprintf(vertmp,"CMake Version %d.%d - %s", cmMakefile::GetMajorVersion(),
+ cmMakefile::GetMinorVersion(),cmMakefile::GetReleaseVersion());
int sideSpace = (width-strlen(vertmp));
for(i=0; i<sideSpace; i++) { version[i] = ' '; }
sprintf(version+sideSpace, "%s", vertmp);