Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 416118 Details for
Bug 564950
media-sound/lmms-1.1.3 - fails to build with gcc 5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the warning
lmms-comparison.patch (text/plain), 975 bytes, created by
Jonas Jelten
on 2015-11-05 17:05:57 UTC
(
hide
)
Description:
fix the warning
Filename:
MIME Type:
Creator:
Jonas Jelten
Created:
2015-11-05 17:05:57 UTC
Size:
975 bytes
patch
obsolete
>From 317b2f02a829f694a66c760fc6de7df1db99b006 Mon Sep 17 00:00:00 2001 >From: Tobias Doerffel <tobias.doerffel@gmail.com> >Date: Mon, 16 Feb 2015 18:22:49 +0100 >Subject: [PATCH] AutomatableModel: fix wrong comparison logic > >We must not negate the float but instead test for inequality in order to >determine whether the linked model has to be updated. > >Closes #1761. >--- > src/core/AutomatableModel.cpp | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/src/core/AutomatableModel.cpp b/src/core/AutomatableModel.cpp >index 6c7501c..bf56285 100644 >--- a/src/core/AutomatableModel.cpp >+++ b/src/core/AutomatableModel.cpp >@@ -318,8 +318,7 @@ void AutomatableModel::setAutomatedValue( const float value ) > it != m_linkedModels.end(); ++it ) > { > if( (*it)->m_setValueDepth < 1 && >- !(*it)->fittedValue( m_value ) != >- (*it)->m_value ) >+ (*it)->fittedValue( m_value ) != (*it)->m_value ) > { > (*it)->setAutomatedValue( value ); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 564950
: 416118