diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-10-24 15:14:16 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-10-24 15:14:16 +0000 |
| commit | 88ff8a79ec45f9591e764fce4244315b105f3cb6 (patch) | |
| tree | 7091c52397cd80755fa3ee021f9ade1bd2c03936 /src | |
| parent | fix bug "some of the locale-based templates cause objects to be resized when ... (diff) | |
| download | inkscape-88ff8a79ec45f9591e764fce4244315b105f3cb6.tar.gz inkscape-88ff8a79ec45f9591e764fce4244315b105f3cb6.zip | |
fix bad style
(bzr r12718)
Diffstat (limited to 'src')
| -rw-r--r-- | src/document.cpp | 2 |
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) { |
