Joins two parts of a path separated by the system-specific path separator.
Definition at line 34 of file FXPath.h. References FX::FXString::append(), FX::FXString::length(), and PATHSEP. Referenced by FX::FXDC::getLineJoin(), and join(). 00035 { 00036 FXString ret(a); 00037 if(PATHSEP!=a[a.length()-1] && PATHSEP!=b[0]) 00038 return ret.append(PATHSEP).append(b); 00039 else 00040 return ret.append(b); 00041 }
|