summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-02-16 09:52:34 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-02-16 09:52:34 +0000
commit192872d727fe600bc6d0d7d73a870c9e487db17c (patch)
tree315024741511387457f89a0f31cf903a27e3023c /src/desktop-style.cpp
parentupdate (diff)
downloadinkscape-192872d727fe600bc6d0d7d73a870c9e487db17c.tar.gz
inkscape-192872d727fe600bc6d0d7d73a870c9e487db17c.zip
fix 168320: return NOTHING only if no texts selected, but not when a text has nonexistent font
(bzr r4739)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 619986b57..48dc59400 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -1096,7 +1096,7 @@ objects_query_fontspecification (GSList *objects, SPStyle *style_res)
}
}
- if (texts == 0 || !style_res->text->font_specification.set)
+ if (texts == 0)
return QUERY_STYLE_NOTHING;
if (texts > 1) {