summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-03-28 23:11:49 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-03-28 23:11:49 +0000
commitb0bc5900769742861a57b3200f25378a5d5138be (patch)
treec641716ac21b5f28e2a05284eedd4778605fbc69 /src/desktop.cpp
parentUpdate to trunk (diff)
parentFix for Bug #1161205 (Font substitution dialog appears when generic font fami... (diff)
downloadinkscape-b0bc5900769742861a57b3200f25378a5d5138be.tar.gz
inkscape-b0bc5900769742861a57b3200f25378a5d5138be.zip
Update to trunk
(bzr r11950.1.76)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp2
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);
}
}