Browse Source

Fixed typo preventing compilation on MSWin

pull/3/merge
Cirilo Bernardo 9 years ago
committed by Wayne Stambaugh
parent
commit
8b259f2837
  1. 4
      pcbnew/pcbframe.cpp

4
pcbnew/pcbframe.cpp

@ -470,11 +470,11 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
enableGALSpecificMenus();
// disable Export STEP item if kicad2step does not exist
wxString strK2S = Pgm().GetExecutablePath();
wxString strK2S = Pgm().GetExecutablePath();
#ifdef _WIN32
// translate from KiCad's internal UNIX-like path to MSWin paths
str2KS.Replace( wxT( "/" ), wxT( "\\" ) );
strK2S.Replace( "/", "\\" );
#endif
wxFileName appK2S( strK2S, "kicad2step" );

Loading…
Cancel
Save