Brett Nash <n...@nash.id.au>
On 30/07/2010, at 10:28 PM, Peter Wehrfritz <peter.wehrfr...@web.de> wrote: >> +EAPI size_t >> +eina_unicode_strnlen(const Eina_Unicode *ustr, int n) >> +{ >> + const Eina_Unicode *end; >> + for (end = ustr; *end; end++) >> + ; >> + return end - ustr; >> +} >> > > The function doesn't seem to respect "n" in any way You are entirely correct. I'll push the actual working code tomorrow. Thanks. Regards, Nash > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel