diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-01 20:30:31 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-04-02 20:10:02 +0000 |
| commit | aea9a4ef6bee5b259118ceed660349e30dfdc285 (patch) | |
| tree | f5c94480142513ab675cd662e5df77b355dec381 /src/ui/toolbar/star-toolbar.cpp | |
| parent | Replace IS_FINITE with std::isfinite (exists since C++11) (diff) | |
| download | inkscape-aea9a4ef6bee5b259118ceed660349e30dfdc285.tar.gz inkscape-aea9a4ef6bee5b259118ceed660349e30dfdc285.zip | |
Replace IS_NAN with std::isnan (exists since C++11)
Diffstat (limited to 'src/ui/toolbar/star-toolbar.cpp')
| -rw-r--r-- | src/ui/toolbar/star-toolbar.cpp | 2 |
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()); |
