# HG changeset patch # User Chris Cannam # Date 1444742691 -3600 # Node ID 89f44d182d379d5555954093016d32948db16b53 # Parent 4c8e7014abab28880cfbd0bbc87b5c147f53437d Repaint fix diff -r 4c8e7014abab -r 89f44d182d37 layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Mon Oct 12 17:09:51 2015 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Oct 13 14:24:51 2015 +0100 @@ -1512,7 +1512,7 @@ } if (m_fftModels[view]->getHeight() != fftSize / 2 + 1) { #ifdef DEBUG_SPECTROGRAM_REPAINT - cerr << "SpectrogramLayer::getFFTModel(" << v << "): Found a model with the wrong height (" << m_fftModels[view].first->getHeight() << ", wanted " << (fftSize / 2 + 1) << ")" << endl; + cerr << "SpectrogramLayer::getFFTModel(" << v << "): Found a model with the wrong height (" << m_fftModels[view]->getHeight() << ", wanted " << (fftSize / 2 + 1) << ")" << endl; #endif delete m_fftModels[view]; m_fftModels.erase(view);