Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1159513 Details for
Bug 1315675
nomacs-3.2.0 is available
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
nomacs-ambiguous_call_to_abs.patch
nomacs-ambiguous_call_to_abs.patch (text/plain), 1.19 KB, created by
Sergio Basto
on 2016-05-19 14:19:11 UTC
(
hide
)
Description:
nomacs-ambiguous_call_to_abs.patch
Filename:
MIME Type:
Creator:
Sergio Basto
Created:
2016-05-19 14:19:11 UTC
Size:
1.19 KB
patch
obsolete
>diff -rup nomacs-3.2.0.orig/src/DkGui/DkPong.cpp nomacs-3.2.0/src/DkGui/DkPong.cpp >--- nomacs-3.2.0.orig/src/DkGui/DkPong.cpp 2016-04-28 12:31:15.000000000 +0100 >+++ nomacs-3.2.0/src/DkGui/DkPong.cpp 2016-05-19 14:23:19.229711156 +0100 >@@ -655,7 +655,7 @@ void DkBall::fixAngle() { > double angle = mDirection.angle(); > double range = CV_PI / 5.0; > double sign = angle > 0 ? 1.0 : -1.0; >- angle = abs(angle); >+ angle = fabs(angle); > double newAngle = 0.0; > > if (angle < CV_PI*0.5 && angle > CV_PI*0.5 - range) { >diff -rup nomacs-3.2.0.orig/src/DkGui/DkViewPort.cpp nomacs-3.2.0/src/DkGui/DkViewPort.cpp >--- nomacs-3.2.0.orig/src/DkGui/DkViewPort.cpp 2016-04-28 12:31:15.000000000 +0100 >+++ nomacs-3.2.0/src/DkGui/DkViewPort.cpp 2016-05-19 14:21:21.889503865 +0100 >@@ -1251,7 +1251,7 @@ void DkViewPort::animateFade() { > mAnimationValue = 1.0f-(float)(mAnimationTime.elapsed()/1000.0)/Settings::param().display().animationDuration; > > // slow in - slow out >- double speed = mAnimationValue > 0.5 ? abs(1.0 - mAnimationValue) : abs(mAnimationValue); >+ double speed = mAnimationValue > 0.5 ? fabs(1.0 - mAnimationValue) : fabs(mAnimationValue); > speed *= .05; > > mAnimationValue += (float)speed;
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 1315675
:
1151843
| 1159513 |
1159514