summaryrefslogtreecommitdiffstats
path: root/src/ui/control-manager.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-10-11 16:28:55 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-10-11 16:29:04 +0000
commit157ea34ce87b49756f0fe2f6ba81c5a09c42c0f9 (patch)
tree89672d1bbe3726382cce72692c7ca32e679cd6b6 /src/ui/control-manager.cpp
parentFix slowdown from switching Text tool a lot (diff)
downloadinkscape-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.cpp1
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;
}