Changeset 19086 for trunk/Mars/mbase


Ignore:
Timestamp:
07/25/18 16:22:19 (6 years ago)
Author:
tbretz
Message:
pos is a pointer, must be !=0 not >0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbase/MEnv.cc

    r18018 r19086  
    288288
    289289    const char *pos = strrchr(GetRcName(), '/');
    290     return pos>0 ? pos+1 : GetRcName();
     290    return pos ? pos+1 : GetRcName();
    291291}
    292292
Note: See TracChangeset for help on using the changeset viewer.