From f4e9b9719acef3ccf2d370f8dd1b1c2be2e4f025 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Tue, 16 Oct 2018 14:33:31 +0900 Subject: [PATCH] Fix the bug that autopopup numbers are not properly entered Change-Id: I88b0cbc674626a0717d9bc8d979ac5a165f93cf1 --- scl/sclresourcecache.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scl/sclresourcecache.cpp b/scl/sclresourcecache.cpp index 4e178c1..91ebe95 100644 --- a/scl/sclresourcecache.cpp +++ b/scl/sclresourcecache.cpp @@ -1423,15 +1423,6 @@ void CSCLResourceCache::generate_autopopup_layout(const SclLayoutKeyCoordinate * (*pCurLayoutKeyCoordinates)[button_index].autopopup_key_values[2][0] = NULL; (*pCurLayoutKeyCoordinates)[button_index].extra_option = 0; - /* If the keyvalue is in between the SCL_ISCHAR range, consider this to be a KEY_TYPE_CHAR */ - if ((*pCurLayoutKeyCoordinates)[button_index].key_value[0][0]) { - if (strlen((*pCurLayoutKeyCoordinates)[button_index].key_value[0][0]) == 1) { - if (SCL_ISCHAR(*(*pCurLayoutKeyCoordinates)[button_index].key_value[0][0])) { - (*pCurLayoutKeyCoordinates)[button_index].key_type = KEY_TYPE_CHAR; - } - } - } - (*pCurButtonContext)[button_index].used = TRUE; button_index++; } -- 2.7.4