Gerbview: Fix a compil issue in my last commit.

This commit is contained in:
jean-pierre charras 2012-05-06 21:41:53 +02:00
commit fda7bbffc3
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ GERBVIEW_FRAME::GERBVIEW_FRAME( wxWindow* father,
if( m_LastGridSizeId < ID_POPUP_GRID_LEVEL_1000 )
m_LastGridSizeId = m_LastGridSizeId;
if( m_LastGridSizeId > ID_POPUP_GRID_LEVEL_0_0_1MM )
m_LastGridSizeId = ID_POPUP_GRID_LEVEL_0_0_1MM
m_LastGridSizeId = ID_POPUP_GRID_LEVEL_0_0_1MM;
GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId );
ReCreateMenuBar();