diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-10-11 16:28:55 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-10-11 16:29:04 +0000 |
| commit | 157ea34ce87b49756f0fe2f6ba81c5a09c42c0f9 (patch) | |
| tree | 89672d1bbe3726382cce72692c7ca32e679cd6b6 /src/ui/control-manager.cpp | |
| parent | Fix slowdown from switching Text tool a lot (diff) | |
| download | inkscape-157ea34ce87b49756f0fe2f6ba81c5a09c42c0f9.tar.gz inkscape-157ea34ce87b49756f0fe2f6ba81c5a09c42c0f9.zip | |
Initialize some uninitialized variables
Diffstat (limited to 'src/ui/control-manager.cpp')
| -rw-r--r-- | src/ui/control-manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/control-manager.cpp b/src/ui/control-manager.cpp index 153799f2a..4aa061a7e 100644 --- a/src/ui/control-manager.cpp +++ b/src/ui/control-manager.cpp @@ -400,6 +400,7 @@ SPCtrlLine *ControlManager::createControlLine(SPCanvasGroup *parent, CtrlLineTyp line->setRgba32((type == CTLINE_PRIMARY) ? LINE_COLOR_PRIMARY : (type == CTLINE_SECONDARY) ? LINE_COLOR_SECONDARY : LINE_COLOR_TERTIARY); + line->setCoords(0, 0, 0, 0); } return line; } |
