changeset 525:e6e38632e8ea sv-v1.5

* debug tidy
author Chris Cannam
date Mon, 16 Mar 2009 16:42:34 +0000
parents 7e180ec7773c
children e60e6fccfe4e
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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