projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deda5d9
)
Fix a bug on Systeminfo
author
Hokwon Song
<hokwon.song@samsung.com>
Fri, 12 Apr 2013 12:56:42 +0000
(21:56 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Fri, 12 Apr 2013 12:56:42 +0000
(21:56 +0900)
Change-Id: I506ff0447b1933320bae80b62199e00538ee5f6a
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/system/FSys_SystemClient.cpp
patch
|
blob
|
history
diff --git
a/src/system/FSys_SystemClient.cpp
b/src/system/FSys_SystemClient.cpp
index
acc905f
..
7671069
100644
(file)
--- a/
src/system/FSys_SystemClient.cpp
+++ b/
src/system/FSys_SystemClient.cpp
@@
-126,7
+126,8
@@
_SystemClient::GetValue(const String& key, bool& value)
String* pValue = (String*)responseMessages.GetAt(3);
SysTryReturnResult(NID_SYS, pValue != null, E_SYSTEM, "There is no result value.");
- if(pValue->GetPointer() == L"1")
+
+ if(pValue->Equals(L"1", false))
{
value = true;
}
@@
-134,7
+135,6
@@
_SystemClient::GetValue(const String& key, bool& value)
{
value = false;
}
-
responseMessages.RemoveAll(true);
return r;
}