Hi, > > I would use strrchr() instead, > > okay. > > > and don't forget to check if the dot > > isn't the last char in the string, to avoid segfaults. > > it checks if the next character is a digit and that's enough, because > '\0' isn't. Applied -- Alex Beregszaszi <alex at fsn.hu> (MPlayer Core Developer -- http://www.mplayerhq.hu/)