~sjr/kicad/msvc

« back to all changes in this revision

Viewing changes to pcbnew/specctra.cpp

  • Committer: Simon Richter
  • Date: 2016-08-15 18:49:01 UTC
  • Revision ID: simon.richter@hogyros.de-20160815184901-ycbu4r1onyjdcsds
Complete str[n]icmp -> str[n]casecmp

This also reverses the substitution logic if strcasecmp is missing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    mytime.tm_mon = 0;      // remains if we don't find a month match.
195
195
    for( int m=0;  months[m];  ++m )
196
196
    {
197
 
        if( !stricmp( months[m], ptok ) )
 
197
        if( !strcasecmp( months[m], ptok ) )
198
198
        {
199
199
            mytime.tm_mon = m;
200
200
            break;