From 9c603afedae246cfd08a02315676a8ed78426ade Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Wed, 26 Dec 2018 11:32:06 +0900 Subject: Fix mistake Change-Id: I35ab53f4b46209bb119afe4098a2f43f8135d856 Signed-off-by: Kazumasa Mitsunari --- src/libwindowmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.2.3-korg