r21381 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 18 09:14:21 UTC 2016


Author: fschmid
Date: Sat Jun 18 09:14:21 2016
New Revision: 21381

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21381
Log:
Compile Fix for compiling with Qt-5.7

Modified:
    trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc

Modified: trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21381&path=/trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc
==============================================================================
--- trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc	(original)
+++ trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc	Sat Jun 18 09:14:21 2016
@@ -7296,7 +7296,7 @@
                             //if(imm >= 0.0)
                             {
                                 double new_base_immed = std::pow(base_immed, imm);
-                                if(isinf(new_base_immed) || new_base_immed == 0.0)
+								if(std::isinf(new_base_immed) || new_base_immed == 0.0)
                                 {
                                     // It produced an infinity. Do not change.
                                     break;




More information about the scribus-commit mailing list