Thanks for the fix :) Can you update those CIDs in coverity? Thanks.
Daniel Juyung Seo (SeoZ) On Fri, Feb 7, 2014 at 1:09 AM, Ryuan Choi <[email protected]> wrote: > ryuan pushed a commit to branch master. > > > http://git.enlightenment.org/core/elementary.git/commit/?id=f1730bdff9405995a2b9d920015dacd595290be2 > > commit f1730bdff9405995a2b9d920015dacd595290be2 > Author: Ryuan Choi <[email protected]> > Date: Fri Feb 7 01:04:18 2014 +0900 > > datetime: fix wrong condition for validation in _field_limit_get() > > 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 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c > index 5db4251..d0f9618 100644 > --- 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); > > > -- > > > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
