mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-12-18 12:18:08 +00:00
修复编译告警
Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
parent
879cbbe5aa
commit
4cf438a718
@ -91,7 +91,7 @@ namespace MiscServices {
|
||||
int mSelectOldEnd = 0;
|
||||
int mSelectNewBegin = 0;
|
||||
int mSelectNewEnd = 0;
|
||||
int mSpecialKeyPress = 0;
|
||||
int32_t mSpecialKeyPress = 0;
|
||||
|
||||
static std::mutex instanceLock_;
|
||||
static sptr<InputMethodController> instance_;
|
||||
|
@ -361,7 +361,7 @@ using namespace MessageID;
|
||||
int32_t status = keyEvent->GetKeyAction();
|
||||
if (mSpecialKeyPress != 0) {
|
||||
if ((code == MMI::KeyEvent::KEYCODE_CTRL_LEFT || code == MMI::KeyEvent::KEYCODE_CTRL_RIGHT) && status == MMI::KeyEvent::KEY_ACTION_UP) {
|
||||
mSpecailKeyPress--;
|
||||
mSpecialKeyPress--;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user