fix get unique filename if defined KICAD_GOST

This commit is contained in:
Andrey Fedorushkov 2011-04-25 10:05:03 +04:00
parent 4dee08c318
commit e3505ff5d3
1 changed files with 2 additions and 0 deletions

View File

@ -467,7 +467,9 @@ wxString SCH_EDIT_FRAME::GetUniqueFilenameForCurrentSheet()
filename.Replace( wxT( "/" ), wxT( "-" ) );
filename.RemoveLast();
#if defined(KICAD_GOST)
#ifndef __WINDOWS__
filename.Remove( 0, 1 );
#endif
#endif
}
else