On Thu, 13 Aug 2009 07:33:07 +0200 (CEST) Vincent Torri <vto...@univ-evry.fr> said:
hamsters need no initting! > also eina_hamster_init() is not called in eina_init() :-) poor hamsters ! > > (and eina_tiler init() as well) > > Vincent > > On Thu, 13 Aug 2009, Vincent Torri wrote: > > > > > On Wed, 12 Aug 2009, Enlightenment SVN wrote: > > > >> + fields = sscanf(_eina_hamster_time, "%02i:%02i:%02i", &hrs, &min, > >> &sec); > >> + if (fields == 3) > >> + { > >> + _eina_hamsters = (hrs * 60) + min; > >> + fields = sscanf(_eina_hamster_date, "%s %i %i", mon, &day, > >> &year); > >> + if (fields == 3) > >> + { > > > > [snip] > > > >> + } > > > > shouldn't we return 0 in case the second test fails ? > > > >> + } > >> + } > >> + // format: [rest - year][0-12 - month][0-31 - day][0-23 - hrs][0-59 - > >> sec] return _eina_hamsters; > >> } > > > > Vincent > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > > on what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > -- > > Ce message a été vérifié par MailScanner > > pour des virus ou des polluriels et rien de > > suspect n'a été trouvé. > > Message délivré par le serveur de messagerie de l'Université d'Evry. > > > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel