From ba963296485b22e67a3343c0ae7c1ac3a8c41c03 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 6 May 2012 21:29:52 +0200 Subject: [PATCH] Gerbview: Fix a compil issue in my last commit. --- gerbview/gerbview_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerbview/gerbview_frame.cpp b/gerbview/gerbview_frame.cpp index 86de733f2e..4fca6658ba 100644 --- a/gerbview/gerbview_frame.cpp +++ b/gerbview/gerbview_frame.cpp @@ -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();