summaryrefslogtreecommitdiffstats
path: root/src/ui/toolbar
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-04-01 20:30:31 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-04-02 20:10:02 +0000
commitaea9a4ef6bee5b259118ceed660349e30dfdc285 (patch)
treef5c94480142513ab675cd662e5df77b355dec381 /src/ui/toolbar
parentReplace IS_FINITE with std::isfinite (exists since C++11) (diff)
downloadinkscape-aea9a4ef6bee5b259118ceed660349e30dfdc285.tar.gz
inkscape-aea9a4ef6bee5b259118ceed660349e30dfdc285.zip
Replace IS_NAN with std::isnan (exists since C++11)
Diffstat (limited to 'src/ui/toolbar')
-rw-r--r--src/ui/toolbar/star-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/toolbar/star-toolbar.cpp b/src/ui/toolbar/star-toolbar.cpp
index 5135f06ee..d269fe431 100644
--- a/src/ui/toolbar/star-toolbar.cpp
+++ b/src/ui/toolbar/star-toolbar.cpp
@@ -295,7 +295,7 @@ void
StarToolbar::proportion_value_changed()
{
if (DocumentUndo::getUndoSensitive(_desktop->getDocument())) {
- if (!IS_NAN(_spoke_adj->get_value())) {
+ if (!std::isnan(_spoke_adj->get_value())) {
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
prefs->setDouble("/tools/shapes/star/proportion",
_spoke_adj->get_value());