Last active
September 1, 2017 08:09
-
-
Save metacollin/00703faba61f93842350f16b4305f456 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kicad/kicad.cpp b/kicad/kicad.cpp | |
index da0a10743..76ffcc9f6 100644 | |
--- a/kicad/kicad.cpp | |
+++ b/kicad/kicad.cpp | |
@@ -173,7 +173,7 @@ void PGM_KICAD::MacOpenFile( const wxString& aFileName ) | |
KICAD_MANAGER_FRAME* frame = (KICAD_MANAGER_FRAME*) App().GetTopWindow(); | |
- if( !aFileName.empty && wxFileExists( aFileName ) ) | |
+ if( !aFileName.empty() && wxFileExists( aFileName ) ) | |
frame->LoadProject( wxFileName( aFileName ) ); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment