diff options
author | 2018-08-27 08:31:22 +0900 | |
---|---|---|
committer | 2018-08-27 08:31:39 +0900 | |
commit | 2275abc95f65c364acefa36b6b2079caad305756 (patch) | |
tree | e4230b2f020b7d5f4040dd28d0c7fc186fe959a8 | |
parent | afd469a5ac3a80e08c86d47a824556065454ac80 (diff) |
Fix mistake of comparison
Change-Id: Ifab9782c204c523df33bfb2d82939f30243672f7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r-- | src/wm_layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wm_layer.cpp b/src/wm_layer.cpp index af258e4..6131165 100644 --- a/src/wm_layer.cpp +++ b/src/wm_layer.cpp @@ -114,7 +114,7 @@ WMLayer::WMLayer(json_object* j) : before_state(), state() int end = jh::getIntFromJson(j, "id_range_end"); string name = layer_name; - if (layer_name || type || begin >=0 || end >=0) + if (layer_name || type || !begin < 0 || end < 0) { HMI_ERROR("Parse Error!!"); } |