diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-17 19:00:45 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-17 19:00:45 +0000 |
| commit | 70dcb712d89b98453c4ea6e4868c88af8d2887e4 (patch) | |
| tree | c19680dd8b7c41260a6224b54f3e1712a1da08da /src/ui/view/edit-widget.cpp | |
| parent | clean up rect mess a bit before start working on other stuff (diff) | |
| download | inkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.tar.gz inkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.zip | |
re-introduce isEmpty tests
(bzr r2679)
Diffstat (limited to 'src/ui/view/edit-widget.cpp')
| -rw-r--r-- | src/ui/view/edit-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index 99fd2fb80..79258283d 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -1630,7 +1630,7 @@ EditWidget::onWindowRealize() NR::Rect d(NR::Point(0, 0), NR::Point(sp_document_width(_desktop->doc()), sp_document_height(_desktop->doc()))); - if (fabs(d.dimensions()[NR::X]) < 1.0 || fabs(d.dimensions()[NR::Y]) < 1.0) { + if (d.isEmpty(1.0)) { return; } |
