# HG changeset patch
# User Chris Cannam
# Date 1237221754 0
# Node ID e6e38632e8ea1ef0a1e4d90f9160e23b1d74d45a
# Parent  7e180ec7773cda715d8c77b340fb43e88819891e
* debug tidy

diff -r 7e180ec7773c -r e6e38632e8ea layer/SpectrogramLayer.cpp
--- a/layer/SpectrogramLayer.cpp	Mon Mar 16 16:36:23 2009 +0000
+++ b/layer/SpectrogramLayer.cpp	Mon Mar 16 16:42:34 2009 +0000
@@ -2034,9 +2034,9 @@
         if (paintBlockWidth < 20) paintBlockWidth = 20;
     }
 
-//#ifdef DEBUG_SPECTROGRAM_REPAINT
+#ifdef DEBUG_SPECTROGRAM_REPAINT
     std::cerr << "[" << this << "]: last paint width: " << m_lastPaintBlockWidth << ", last paint time: " << m_lastPaintTime << ", new paint width: " << paintBlockWidth << std::endl;
-//#endif
+#endif
 
     // We always paint the full height when refreshing the cache.
     // Smaller heights can be used when painting direct from cache