summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-12-26 11:32:06 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-12-26 11:32:06 +0900
commit9c603afedae246cfd08a02315676a8ed78426ade (patch)
tree24548b07582d1943552c79dd20db80dc9f42a39e
parent67ee806d3a3ba388cb4c550869dd216f4b0cf577 (diff)
Change-Id: I35ab53f4b46209bb119afe4098a2f43f8135d856 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 08667e8..9012626 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -403,7 +403,7 @@ int LibWindowmanager::Impl::getAreaList(ChangeAreaReq* req) {
if (json_object_object_get_ex(j, g_kKeyResponse, &val)) {
HMI_DEBUG("libwm", "responce:%s", json_object_get_string(val));
if (json_object_object_get_ex(val, "areas", &jarea)) {
- int size = json_object_array_length(val);
+ int size = json_object_array_length(jarea);
for(int i = 0; i < size; i++)
{
json_object* elem = json_object_array_get_idx(jarea, i);