Le mercredi 23 janvier 2008 à 10:37 +0100, Peter Wehrfritz a écrit : > Nicolas Aguirre schrieb: > > Le mardi 22 janvier 2008 à 19:48 +0100, Peter Wehrfritz a écrit : > > > >> Wouldn't it be better, if ecore_str_has_suffix() were case-insensitive, > >> because it is most time used to check for extensions? Or maybe to have > >> another function that does the same job, but that use strcasecmp instead > >> strcmp? > >> > >> Peter > >> > > > > Agree with you, but maybe have another function would be better. > > > > > You'll find a patch attached, that adds ecore_str_has_extentsion() which > uses strcasecmp() instead of strcmp(). If there are no objections, I'm > going to commit it in some days > > Peter
It's ok for me and, could be very usefull :) Nico ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
