summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-10-24 15:14:16 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-10-24 15:14:16 +0000
commit88ff8a79ec45f9591e764fce4244315b105f3cb6 (patch)
tree7091c52397cd80755fa3ee021f9ade1bd2c03936 /src/document.cpp
parentfix bug "some of the locale-based templates cause objects to be resized when ... (diff)
downloadinkscape-88ff8a79ec45f9591e764fce4244315b105f3cb6.tar.gz
inkscape-88ff8a79ec45f9591e764fce4244315b105f3cb6.zip
fix bad style
(bzr r12718)
Diffstat (limited to '')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 782eb22f3..e1df38da1 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -679,7 +679,7 @@ void SPDocument::fitToRect(Geom::Rect const &rect, bool with_margins)
double margin_right = 0.0;
double margin_bottom = 0.0;
- SPNamedView *nv = sp_document_namedview(this, 0);
+ SPNamedView *nv = sp_document_namedview(this, NULL);
if (with_margins && nv) {
if (nv != NULL) {