This exits a few times in code base: ```cpp char *pEnd = buffer + strlen( buffer ); while( pEnd != buffer ) { if( *pEnd == '\\' ) { *pEnd = 0; break; } pEnd--; } ``` Should be possible to simplify with strrchr.
This exits a few times in code base:
Should be possible to simplify with strrchr.