From fbe7a112f827cf6c7dde4774a8d17c34ec220e8e Mon Sep 17 00:00:00 2001
From: dickelbeck <Unknown>
Date: Wed, 10 Oct 2007 04:53:23 +0000
Subject: [PATCH] pcbnew's onrightclick behavior

---
 pcbnew/basepcbframe.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pcbnew/basepcbframe.cpp b/pcbnew/basepcbframe.cpp
index 9c19160c9c..08c3b569dc 100644
--- a/pcbnew/basepcbframe.cpp
+++ b/pcbnew/basepcbframe.cpp
@@ -185,13 +185,13 @@ void WinEDA_BasePcbFrame::ProcessItemSelection( wxCommandEvent& event )
     // index into the collector list:
     int itemNdx = id - ID_POPUP_PCB_ITEM_SELECTION_START;
 
-    if( (id >= ID_POPUP_PCB_ITEM_SELECTION_START)
-       && (id <= ID_POPUP_PCB_ITEM_SELECTION_END) )
+    if( id >= ID_POPUP_PCB_ITEM_SELECTION_START
+     && id <= ID_POPUP_PCB_ITEM_SELECTION_END )
     {
         BOARD_ITEM* item = (*m_Collector)[itemNdx];
         DrawPanel->m_AbortRequest = false;
 
-#if defined (DEBUG)
+#if defined (DEBUG) && 0
         item->Show( 0, std::cout );
 #endif