]> git.sesse.net Git - kdenlive/commitdiff
[PATCH by Ray Lehtiniemi] Fix up &&/& confusion
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 7 Mar 2009 18:08:44 +0000 (18:08 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 7 Mar 2009 18:08:44 +0000 (18:08 +0000)
svn path=/trunk/kdenlive/; revision=3115

src/kthumb.cpp

index 0fb223d900b005c178e058920bdce7a97e20560a..6f21286314dfd176407e6c996deaf450cb3376f6 100644 (file)
@@ -81,7 +81,7 @@ void MyThread::run() {
     for (int z = (int) m_frame;z < (int)(m_frame + m_frameLength) && m_producer.is_valid();z++) {
         if (stop_me) break;
         val = (int)((z - m_frame) / (m_frame + m_frameLength) * 100.0);
-        if (last_val != val & val > 1) {
+        if (last_val != val && val > 1) {
             emit audioThumbProgress(val);
             //QApplication::postEvent(m_parent, new ProgressEvent(val, (QEvent::Type)10005));