From 10f6e431489ed9f26b83871fb2ab3b38ac2969fe Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 8 Feb 2018 20:29:39 +1100 Subject: [PATCH] fix pcb_reader ignoring windows paths in arguments --- src/tools/pcb_reader/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } }