fixed bug(N_SE-48559)
authorChulheon <ch.jeong47@samsung.com>
Mon, 12 Aug 2013 09:50:14 +0000 (18:50 +0900)
committerChulheon <ch.jeong47@samsung.com>
Mon, 12 Aug 2013 09:50:14 +0000 (18:50 +0900)
Change-Id: I87c7842cc3e6defca91c1870c1d5298915049d25

src/ui/FUi_InputConnectionImpl.cpp
src/ui/controls/FUiCtrl_EditPresenter.cpp

index ba5eacf..375fb45 100644 (file)
@@ -1545,8 +1545,8 @@ _InputConnectionImpl::FilterKeyOnUSBMode(InputPanelStyle style, const char* key,
 
        char TempKey[20] = {0,};
        const char keyOnNumOnlyStyle[10] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/};
-       const char keyOnPhoneNumStyle[13] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/,
-                                                                       0x2a/***/, 0x2b/*+*/, 0x23/*#*/};
+       const char keyOnPhoneNumStyle[14] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/,
+                                                                       0x2a/***/, 0x2b/*+*/, 0x23/*#*/, 0x70/*p*/};
        const char keyOnIPStyle[18] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/,
                                                                        0x3a/*:*/, 0x2e/*.*/, 0x61/*a*/, 0x62/*b*/, 0x63/*c*/, 0x64/*d*/, 0x65/*e*/, 0x66/*f*/};
        bool isExist = false;
index f6afed7..735be7b 100755 (executable)
@@ -10904,13 +10904,13 @@ bool
 _EditPresenter::IsUnsupportedChracterExist(const KeypadStyle keypadStyle, const Tizen::Base::String& text)
 {
        const int numberOfCharOnNumOnlyStyle = 10;
-       const int numberOfCharOnPhoneNumStyle = 13;
+       const int numberOfCharOnPhoneNumStyle = 14;
        const int numberOfCharOnIpStyle = 18;
 
        const wchar_t* TempKey = null;
        const wchar_t characterOnNumOnlyStyle[numberOfCharOnNumOnlyStyle+1] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/, 0};
        const wchar_t characterOnPhoneNumStyle[numberOfCharOnPhoneNumStyle+1] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/,
-                                                                       0x2a/***/, 0x2b/*+*/, 0x23/*#*/, 0};
+                                                                       0x2a/***/, 0x2b/*+*/, 0x23/*#*/, 0x70/*p*/, 0};
        const wchar_t characterOnIPStyle[numberOfCharOnIpStyle+1] = { 0x30/*0*/, 0x31/*1*/, 0x32/*2*/, 0x33/*3*/, 0x34/*4*/, 0x35/*5*/, 0x36/*6*/, 0x37/*7*/, 0x38/*8*/, 0x39/*9*/,
                                                                        0x3a/*:*/, 0x2e/*.*/, 0x61/*a*/, 0x62/*b*/, 0x63/*c*/, 0x64/*d*/, 0x65/*e*/, 0x66/*f*/, 0};
        bool isSupportedCharacterExist = false;