diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-11-02 23:08:41 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-11-02 23:08:41 +0000 |
| commit | 6162cf1a9f6953319e0e3d6b56354c5cb0f26352 (patch) | |
| tree | eee7e33b24751c74fe63ae746583b09458c39a46 /src/ui | |
| parent | fix prefs icon (diff) | |
| download | inkscape-6162cf1a9f6953319e0e3d6b56354c5cb0f26352.tar.gz inkscape-6162cf1a9f6953319e0e3d6b56354c5cb0f26352.zip | |
Add some unit tests for object-set cppification
(bzr r15203)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/align-and-distribute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp index 7ba6df978..236832beb 100644 --- a/src/ui/dialog/align-and-distribute.cpp +++ b/src/ui/dialog/align-and-distribute.cpp @@ -129,7 +129,7 @@ void ActionAlign::do_action(SPDesktop *desktop, int index) SPItem *focus = NULL; Geom::OptRect b = Geom::OptRect(); Selection::CompareSize horiz = (a.mx0 != 0.0) || (a.mx1 != 0.0) - ? Selection::HORIZONTAL : Selection::VERTICAL; + ? Selection::VERTICAL : Selection::HORIZONTAL; switch (AlignTarget(prefs->getInt("/dialogs/align/align-to", 6))) { |
