From e3505ff5d354dc0d407edb35e350e367ca77b121 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Mon, 25 Apr 2011 10:05:03 +0400 Subject: [PATCH] fix get unique filename if defined KICAD_GOST --- eeschema/schframe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/schframe.cpp b/eeschema/schframe.cpp index ea4710f7d4..8152c1ffe4 100644 --- a/eeschema/schframe.cpp +++ b/eeschema/schframe.cpp @@ -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