summaryrefslogtreecommitdiffstats
path: root/src/widgets/icon.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-03-17 19:00:45 +0000
committermental <mental@users.sourceforge.net>2007-03-17 19:00:45 +0000
commit70dcb712d89b98453c4ea6e4868c88af8d2887e4 (patch)
treec19680dd8b7c41260a6224b54f3e1712a1da08da /src/widgets/icon.cpp
parentclean up rect mess a bit before start working on other stuff (diff)
downloadinkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.tar.gz
inkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.zip
re-introduce isEmpty tests
(bzr r2679)
Diffstat (limited to 'src/widgets/icon.cpp')
-rw-r--r--src/widgets/icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index b9ed94c0c..9be74a556 100644
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
@@ -623,7 +623,7 @@ sp_icon_doc_icon( SPDocument *doc, NRArenaItem *root,
}
/* This is in document coordinates, i.e. pixels */
- if ( dbox ) {
+ if ( dbox && !dbox->isEmpty() ) {
NRGC gc(NULL);
/* Update to renderable state */
double sf = 1.0;