Skip to content

Commit dba1a60

Browse files
committed
a?
1 parent 8c4c03e commit dba1a60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ class $modify(CCIMEDispatcher) {
469469
ImGui::GetIO().AddInputCharactersUTF8(std::string(text, len).c_str());
470470
}
471471
else if (ImGui::GetIO().WantCaptureKeyboard) { // KEY_... (text "a")
472-
auto* capt = &ImGui::GetIO().WantCaptureKeyboard;
472+
auto& capt = ImGui::GetIO().WantCaptureKeyboard;
473473
capt = ImGui::GetIO().WantTextInput ? false : capt;
474474
CCKeyboardDispatcher::get()->dispatchKeyboardMSG(key, true, false);
475475
CCKeyboardDispatcher::get()->dispatchKeyboardMSG(key, false, false);

0 commit comments

Comments
 (0)