diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:13 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:13 +0900 |
commit | 0375131677cc32a24352f205d05c730690c55af6 (patch) | |
tree | 749fa75697d8f28962e338b35cf7c099f4099957 /Source/CursesDialog/cmCursesMainForm.cxx | |
parent | ba608e51abaeeca867d14590749beda6c283e3a8 (diff) | |
download | cmake-0375131677cc32a24352f205d05c730690c55af6.tar.gz cmake-0375131677cc32a24352f205d05c730690c55af6.tar.bz2 cmake-0375131677cc32a24352f205d05c730690c55af6.zip |
Imported Upstream version 3.10.3upstream/3.10.3
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index dbd024da6..4a9dc473c 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -475,7 +475,7 @@ void cmCursesMainForm::UpdateStatusBar(const char* message) strncpy(bar + curFieldLen + 2, help, width - curFieldLen - 2); if (curFieldLen + helpLen + 2 < width) { memset(bar + curFieldLen + helpLen + 2, ' ', - width - curFieldLen + helpLen + 2); + width - (curFieldLen + helpLen + 2)); } } } |