diff options
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 854b919..cd231ad 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -920,7 +920,7 @@ void cmCursesMainForm::HandleInput() { if ( this->SearchString.size() < static_cast<std::string::size_type>(x-10) ) { - this->SearchString += key; + this->SearchString += static_cast<char>(key); } } else if ( key == ctrl('h') || key == KEY_BACKSPACE || key == KEY_DC ) |