Code Review
/
apps
/
agl-service-windowmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
afd469a
)
Fix mistake of comparison
author
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Sun, 26 Aug 2018 23:31:22 +0000
(08:31 +0900)
committer
Kazumasa Mitsunari
<knimitz@witz-inc.co.jp>
Sun, 26 Aug 2018 23:31:39 +0000
(08:31 +0900)
Change-Id: Ifab9782c204c523df33bfb2d82939f30243672f7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wm_layer.cpp
patch
|
blob
|
history
diff --git
a/src/wm_layer.cpp
b/src/wm_layer.cpp
index
af258e4
..
6131165
100644
(file)
--- 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;
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!!");
}
{
HMI_ERROR("Parse Error!!");
}