summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2022-12-19 12:50:37 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2022-12-19 12:50:37 +0900
commitca637928db785611ba8efc03c93eff73b954910c (patch)
treefb824cd292be94bed92ef721f05fa29f19cd0edc
parent252a9613772f6f5c89f459aefa6a0cb849830be7 (diff)
downloadise-default-ca637928db785611ba8efc03c93eff73b954910c.tar.gz
ise-default-ca637928db785611ba8efc03c93eff73b954910c.tar.bz2
ise-default-ca637928db785611ba8efc03c93eff73b954910c.zip
Fix issue detected by static analysis tool
Change-Id: Ie16103b849e8c99641de08cd161e459ce3fe21b5 Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r--src/ise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ise.cpp b/src/ise.cpp
index 4ffcc15..0e20846 100644
--- a/src/ise.cpp
+++ b/src/ise.cpp
@@ -1029,7 +1029,7 @@ void CUIEventCallback::on_event_character_key(CSCLUI *ui, SclUIEventDesc event_d
}
}
if (input_mode && strcmp (input_mode, "NUMONLY_3X4_SIGDEC") == 0 &&
- strcmp(event_desc.key_value, ".") == 0) {
+ event_desc.key_value && strcmp(event_desc.key_value, ".") == 0) {
ime_update_preedit_string(_sig_dec[_click_count%SIG_DEC_SIZE], NULL);
ime_show_preedit_string();
delete_commit_timer();