Gerbview: code cleanup and very minor fix.

This commit is contained in:
jean-pierre charras
2011-03-14 22:19:13 +01:00
parent fe6890a955
commit a97f5c2530
17 changed files with 432 additions and 401 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ int GERBVIEW_FRAME::ReadDCodeDefinitionFile( const wxString& D_Code_FullFileName
wxString msg;
D_CODE* dcode;
FILE* dest;
int layer = GetScreen()->m_Active_Layer;
int layer = getActiveLayer();
int type_outil;
if( g_GERBER_List[layer] == NULL )