summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-03-29 19:54:30 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-03-29 19:54:30 +0000
commit8b605523195bcad80c4a3134134066e677282640 (patch)
tree7258ae78c0ae7e2ee7519dcecead8b1fc34ca78f /src/desktop.cpp
parentmerge from trunk (r12240) (diff)
parentHeader cleanup (diff)
downloadinkscape-8b605523195bcad80c4a3134134066e677282640.tar.gz
inkscape-8b605523195bcad80c4a3134134066e677282640.zip
merge from trunk (r12258)
(bzr r11668.1.65)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index d74e8fdad..0bf442b7a 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -26,14 +26,13 @@
# include "config.h"
#endif
+#include "ui/dialog/dialog-manager.h"
#include <glibmm/i18n.h>
#include <sigc++/functors/mem_fun.h>
#include <2geom/transforms.h>
#include <2geom/rect.h>
-#include "ui/dialog/dialog-manager.h"
-
#include "box3d-context.h"
#include "color.h"
#include "desktop-events.h"
@@ -812,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);
}
}