[Lldb-commits] [lldb] daa1c6d - [lldb] fix typo
Luboš Luňák via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 4 03:06:49 PDT 2020
Author: Luboš Luňák
Date: 2020-08-04T12:05:57+02:00
New Revision: daa1c6d9d126ea1666463c44930f00df83f3acd6
URL: https://github.com/llvm/llvm-project/commit/daa1c6d9d126ea1666463c44930f00df83f3acd6
DIFF: https://github.com/llvm/llvm-project/commit/daa1c6d9d126ea1666463c44930f00df83f3acd6.diff
LOG: [lldb] fix typo
Added:
Modified:
lldb/source/Core/IOHandlerCursesGUI.cpp
Removed:
################################################################################
diff --git a/lldb/source/Core/IOHandlerCursesGUI.cpp b/lldb/source/Core/IOHandlerCursesGUI.cpp
index 262a19dc04b4..144b2112183c 100644
--- a/lldb/source/Core/IOHandlerCursesGUI.cpp
+++ b/lldb/source/Core/IOHandlerCursesGUI.cpp
@@ -916,9 +916,9 @@ void Menu::DrawMenuTitle(Window &window, bool highlight) {
} else {
const int shortcut_key = m_key_value;
bool underlined_shortcut = false;
- const attr_t hilgight_attr = A_REVERSE;
+ const attr_t highlight_attr = A_REVERSE;
if (highlight)
- window.AttributeOn(hilgight_attr);
+ window.AttributeOn(highlight_attr);
if (llvm::isPrint(shortcut_key)) {
size_t lower_pos = m_name.find(tolower(shortcut_key));
size_t upper_pos = m_name.find(toupper(shortcut_key));
@@ -945,7 +945,7 @@ void Menu::DrawMenuTitle(Window &window, bool highlight) {
}
if (highlight)
- window.AttributeOff(hilgight_attr);
+ window.AttributeOff(highlight_attr);
if (m_key_name.empty()) {
if (!underlined_shortcut && llvm::isPrint(m_key_value)) {
More information about the lldb-commits
mailing list