Fix the bug related to locales
authorYoonchan Choi <yc81.choi@samsung.com>
Sat, 13 Apr 2013 09:34:14 +0000 (18:34 +0900)
committerYoonchan Choi <yc81.choi@samsung.com>
Sat, 13 Apr 2013 09:34:14 +0000 (18:34 +0900)
Change-Id: I89988253353c4a474e47331eabf4d47d6c860512
Signed-off-by: Yoonchan Choi <yc81.choi@samsung.com>
src/FScl_AccountManagerUtil.cpp

index dca9456..5555a47 100644 (file)
@@ -71,7 +71,7 @@ OnAccountTypeLabelReceived(char* pAppId, char* pLabel, char* pLocale, void* pUse
                {
                        *pDisplayName = String(pLabel);
                }
-               else if(localeStr.Equals(engGbCode) && pDisplayName->IsEmpty())
+               else if(engGbCode.Equals(String(pLocale)) && pDisplayName->IsEmpty())
                {
                        *pDisplayName = String(pLabel);
                }