diff options
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 0c558dc..cddc3d1 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -147,7 +147,8 @@ BOOL CMakeSetupDialog::OnInitDialog() m_WhereSourceControl.LimitText(2048); // Set the version number char tmp[1024]; - sprintf(tmp,"Version %s", cmMakefile::GetVersion()); + sprintf(tmp,"Version %d.%d", cmMakefile::GetMajorVersion(), + cmMakefile::GetMinorVersion()); SetDlgItemText(IDC_CMAKE_VERSION, tmp); this->UpdateData(FALSE); return TRUE; // return TRUE unless you set the focus to a control |