Ignore:
Timestamp:
08/26/09 23:39:06 (15 years ago)
Author:
r2d
Message:

libmpc (mpcenc) :

  • replaced rindex by strrchr
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcenc/mpcenc.c

    r452 r453  
    841841    // if no Output-File is stated, set OutFile to InFile.mpc
    842842    if ( *OutputFile == NULL  ) {
    843             char * ext = rindex(*InputFile, '.'); // search for extension delimiter
     843            char * ext = strrchr(*InputFile, '.'); // search for extension delimiter
    844844        strcpy ( *OutputFile = output, *InputFile );
    845845        len = strlen ( output );
Note: See TracChangeset for help on using the changeset viewer.