projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982cc8d
)
elementary / ctxpopup - fixed logic error.
author
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 26 Apr 2011 04:31:23 +0000
(
04:31
+0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 26 Apr 2011 04:31:23 +0000
(
04:31
+0000)
SVN revision: 58915
src/lib/elc_ctxpopup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_ctxpopup.c
b/src/lib/elc_ctxpopup.c
index
8c92972
..
868df2b
100644
(file)
--- a/
src/lib/elc_ctxpopup.c
+++ b/
src/lib/elc_ctxpopup.c
@@
-403,9
+403,9
@@
_calc_base_geometry(Evas_Object *obj, Evas_Coord_Rectangle *rect)
length[1] = (hover_area.y + hover_area.h) - pos.y;
if (length[0] > length[1])
- idx = ELM_CTXPOPUP_DIRECTION_DOWN;
- else
idx = ELM_CTXPOPUP_DIRECTION_UP;
+ else
+ idx = ELM_CTXPOPUP_DIRECTION_DOWN;
//TODO 2: determine x , y
switch (idx)