summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-24 12:04:31 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-24 12:04:31 +0000
commit67c3fc5586ae05506f75bb30fe46a071e20613d2 (patch)
tree8469b6ad6668ba9852930950833db245eb70da00 /src/style-internal.cpp
parentAdd missing style-internal.cpp (diff)
downloadinkscape-67c3fc5586ae05506f75bb30fe46a071e20613d2.tar.gz
inkscape-67c3fc5586ae05506f75bb30fe46a071e20613d2.zip
Clean up of style code, removal of SPFontStyle. Step 2.
(bzr r13300)
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index ede543078..b03e848ba 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1887,7 +1887,7 @@ SPIFont::read( gchar const *str ) {
std::string str_s = str; // Why this extra step?
std::string family = str_s.substr( str_s.find( param ) );
- style->text->font_family.readIfUnset( family.c_str() );
+ style->font_family.readIfUnset( family.c_str() );
// Everything in shorthand is set per CSS rules, this works since
// properties are read backwards from end to start.
@@ -1897,7 +1897,7 @@ SPIFont::read( gchar const *str ) {
style->font_stretch.set = true;
style->font_size.set = true;
style->line_height.set = true;
- style->text->font_family.set = true;
+ style->font_family.set = true;
// style->font_size_adjust.set = true;
// style->font_kerning.set = true;
// style->font_language_override.set = true;;