diff options
-rw-r--r-- | audio/mixxx/files/patch-src_widget_wdisplay.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_widget_wdisplay.cpp b/audio/mixxx/files/patch-src_widget_wdisplay.cpp new file mode 100644 index 000000000000..806c99c008f0 --- /dev/null +++ b/audio/mixxx/files/patch-src_widget_wdisplay.cpp @@ -0,0 +1,13 @@ +Fix bogus pointer comparison. + +--- src/widget/wdisplay.cpp.orig 2013-05-08 23:20:26 UTC ++++ src/widget/wdisplay.cpp +@@ -86,7 +86,7 @@ void WDisplay::setPixmap(int iPos, const + + void WDisplay::paintEvent(QPaintEvent *) + { +- if (m_pPixmaps>0) ++ if (m_pPixmaps) + { + int idx = (int)(m_fValue*(float)(m_iNoPos)/128.); + // Range check |