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:
313eaab
)
datetime: fix wrong condition for validation in _field_limit_get()
author
Ryuan Choi
<ryuan.choi@gmail.com>
Thu, 6 Feb 2014 16:04:18 +0000
(
01:04
+0900)
committer
Ryuan Choi
<ryuan.choi@gmail.com>
Thu, 6 Feb 2014 16:04:18 +0000
(
01:04
+0900)
It's regression since
9dc3a2829
.
We don't need to consider min_limit/max_limit for ELM_DATETIME_AMPM.
This will fix CID 1167969, 1167970
src/lib/elm_datetime.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_datetime.c
b/src/lib/elm_datetime.c
index
5db4251
..
d0f9618
100644
(file)
--- a/
src/lib/elm_datetime.c
+++ b/
src/lib/elm_datetime.c
@@
-712,7
+712,7
@@
_field_limit_get(Evas_Object *obj,
Datetime_Field *field;
unsigned int idx;
- if (field_type > ELM_DATETIME_
AMPM
) return;
+ if (field_type > ELM_DATETIME_
MINUTE
) return;
ELM_DATETIME_DATA_GET(obj, sd);