diff options
| author | Craig Marshall <craig9@gmail.com> | 2013-03-26 08:35:00 +0000 |
|---|---|---|
| committer | Craig Marshall <craig9@gmail.com> | 2013-03-26 08:35:00 +0000 |
| commit | 708181e0ec7ef17e7e19cd11e539aa2f5188cd29 (patch) | |
| tree | c1b03f0a9c0ec61a55fe6e00d76fb16ae977b37a /src/desktop.cpp | |
| parent | Drop unnecessary (and broken with Gtk+ 3) check for Gtk+ backend (diff) | |
| download | inkscape-708181e0ec7ef17e7e19cd11e539aa2f5188cd29.tar.gz inkscape-708181e0ec7ef17e7e19cd11e539aa2f5188cd29.zip | |
Fixed broken logic in zoom history to fix bug 1106031 (and removed some unrelated and unnecessary debug output)
(bzr r12245)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index c04dba6cc..0bf442b7a 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -811,7 +811,7 @@ SPDesktop::push_current_zoom (std::list<Geom::Rect> &history) { Geom::Rect area = get_display_area(); - if (history.empty() || history.front() == area) { + if (history.empty() || history.front() != area) { history.push_front(area); } } |
