Commit e3505ff5 authored by Andrey Fedorushkov's avatar Andrey Fedorushkov

fix get unique filename if defined KICAD_GOST

parent 4dee08c3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment