From ddff71c11bf6db7151eb8f462ff7a5c8ad8d146c Mon Sep 17 00:00:00 2001 From: Lorenzo Marcantonio Date: Thu, 15 Aug 2013 17:20:25 +0200 Subject: [PATCH] - Rogue int as LAYER_MSK (will break with more than 32 layers) - Comment fix --- pcbnew/block.cpp | 2 +- pcbnew/class_board.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/block.cpp b/pcbnew/block.cpp index 20c6b848a3..06d63ca524 100644 --- a/pcbnew/block.cpp +++ b/pcbnew/block.cpp @@ -381,7 +381,7 @@ bool PCB_EDIT_FRAME::HandleBlockEnd( wxDC* DC ) void PCB_EDIT_FRAME::Block_SelectItems() { - int layerMask; + LAYER_MSK layerMask; GetScreen()->m_BlockLocate.Normalize(); diff --git a/pcbnew/class_board.h b/pcbnew/class_board.h index 67917a52b1..df63b410b4 100644 --- a/pcbnew/class_board.h +++ b/pcbnew/class_board.h @@ -614,7 +614,7 @@ public: void SetZoneSettings( const ZONE_SETTINGS& aSettings ) { m_zoneSettings = aSettings; } /** - * Function SetColorSettings + * Function GetColorSettings * @return the current COLORS_DESIGN_SETTINGS in use */ COLORS_DESIGN_SETTINGS* GetColorsSettings() const { return m_colorsSettings; }