diff --git a/src/tools/pcb_reader/main.cpp b/src/tools/pcb_reader/main.cpp index c6704856..83d66887 100644 --- a/src/tools/pcb_reader/main.cpp +++ b/src/tools/pcb_reader/main.cpp @@ -318,7 +318,7 @@ int main( int argc, char* argv[] ) if( argc > 2 ) { std::string tmpPath( argv[2] ); - if( !( tmpPath.empty() || tmpPath.find( '/' ) == std::string::npos ) ) + if( !tmpPath.empty() ) gamePath = argv[2]; } }