Loading common/base_screen.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -150,12 +150,10 @@ bool BASE_SCREEN::SetZoom( double coeff ) bool BASE_SCREEN::SetNextZoom() { size_t i; if( m_ZoomList.IsEmpty() || m_Zoom >= m_ZoomList.Last() ) return false; for( i = 0; i < m_ZoomList.GetCount(); i++ ) for( unsigned i = 0; i < m_ZoomList.GetCount(); i++ ) { if( m_Zoom < m_ZoomList[i] ) { Loading pcbnew/legacy_plugin.h +4 −3 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 1992-2011 KiCad Developers, see change_log.txt for contributors. * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com> * Copyright (C) 2012 KiCad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License Loading Loading @@ -59,8 +60,6 @@ struct FPL_CACHE; */ class LEGACY_PLUGIN : public PLUGIN { friend struct FPL_CACHE; public: //-----<PLUGIN IMPLEMENTATION>---------------------------------------------- Loading Loading @@ -272,6 +271,8 @@ protected: /// we only cache one footprint library for now, this determines which one. void cacheLib( const wxString& aLibraryPath ); friend struct FPL_CACHE; }; #endif // LEGACY_PLUGIN_H_ Loading
common/base_screen.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -150,12 +150,10 @@ bool BASE_SCREEN::SetZoom( double coeff ) bool BASE_SCREEN::SetNextZoom() { size_t i; if( m_ZoomList.IsEmpty() || m_Zoom >= m_ZoomList.Last() ) return false; for( i = 0; i < m_ZoomList.GetCount(); i++ ) for( unsigned i = 0; i < m_ZoomList.GetCount(); i++ ) { if( m_Zoom < m_ZoomList[i] ) { Loading
pcbnew/legacy_plugin.h +4 −3 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 1992-2011 KiCad Developers, see change_log.txt for contributors. * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com> * Copyright (C) 2012 KiCad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License Loading Loading @@ -59,8 +60,6 @@ struct FPL_CACHE; */ class LEGACY_PLUGIN : public PLUGIN { friend struct FPL_CACHE; public: //-----<PLUGIN IMPLEMENTATION>---------------------------------------------- Loading Loading @@ -272,6 +271,8 @@ protected: /// we only cache one footprint library for now, this determines which one. void cacheLib( const wxString& aLibraryPath ); friend struct FPL_CACHE; }; #endif // LEGACY_PLUGIN_H_