diff options
| author | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-03-14 04:20:33 +0000 |
|---|---|---|
| committer | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-03-14 04:20:33 +0000 |
| commit | 232d5c9f3cda7f24f4c3019c3c312f81f8797011 (patch) | |
| tree | 49c3b4f21dda9eebc3059bcb113a93409c5124f8 /src/ui/tool/path-manipulator.cpp | |
| parent | update to trunk (diff) | |
| download | inkscape-232d5c9f3cda7f24f4c3019c3c312f81f8797011.tar.gz inkscape-232d5c9f3cda7f24f4c3019c3c312f81f8797011.zip | |
Small code simplification
(bzr r11950.7.1)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 1cc075603..f8cc58e3b 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1206,11 +1206,7 @@ bool PathManipulator::isBSpline(bool recalculate){ if(recalculate){ BSplineSteps = this->BSplineGetSteps(); } - bool isBSpline = false; - if(BSplineSteps>0){ - isBSpline = true; - } - return isBSpline; + return BSplineSteps > 0; } // returns the corresponding strength to the position of a handler |
