projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a2c3f7
)
efl_ui_pager: add a missing condition
author
Jaeun Choi
<jaeun12.choi@samsung.com>
Fri, 22 Mar 2019 08:51:17 +0000
(17:51 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:21:10 +0000
(13:21 +0900)
src/lib/elementary/efl_ui_pager.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_pager.c
b/src/lib/elementary/efl_ui_pager.c
index
0511694
..
8c65dc6
100644
(file)
--- a/
src/lib/elementary/efl_ui_pager.c
+++ b/
src/lib/elementary/efl_ui_pager.c
@@
-498,7
+498,7
@@
_efl_ui_pager_efl_pack_linear_pack_at(Eo *obj,
{
if (!EINA_DBL_EQ(pd->curr.pos, 0.0)) return EINA_FALSE;
- if (
index > pd->cnt
)
+ if (
(index > pd->cnt) || (index < 0)
)
{
return EINA_FALSE;
}