From 708181e0ec7ef17e7e19cd11e539aa2f5188cd29 Mon Sep 17 00:00:00 2001 From: Craig Marshall Date: Tue, 26 Mar 2013 19:35:00 +1100 Subject: Fixed broken logic in zoom history to fix bug 1106031 (and removed some unrelated and unnecessary debug output) (bzr r12245) --- src/desktop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop.cpp') 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 &history) { Geom::Rect area = get_display_area(); - if (history.empty() || history.front() == area) { + if (history.empty() || history.front() != area) { history.push_front(area); } } -- cgit v1.2.3