diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-10 04:56:26 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-10 04:56:26 +0000 |
| commit | 52cfa8cc5f3dedcba9e00b3cb7b800f3d5473136 (patch) | |
| tree | 51cf4ffaddd82e734ee5766c22b51a664749cce7 /src/style.cpp | |
| parent | Update to Vinipsmaker changes (diff) | |
| parent | Remove unused includes to tidy up the code. (diff) | |
| download | inkscape-52cfa8cc5f3dedcba9e00b3cb7b800f3d5473136.tar.gz inkscape-52cfa8cc5f3dedcba9e00b3cb7b800f3d5473136.zip | |
update to trunk
(bzr r11950.1.289)
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp index ad5aa17ae..f3a12db86 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -4785,7 +4785,7 @@ sp_style_write_ifontsize(gchar *p, gint const len, gchar const *key, return g_snprintf(p, len, "%s:inherit;", key); } else if (val->type == SP_FONT_SIZE_LITERAL) { for (unsigned i = 0; enum_font_size[i].key; i++) { - if (enum_font_size[i].value == static_cast< gint > (val->value) ) { + if (enum_font_size[i].value == static_cast< gint > (val->literal) ) { return g_snprintf(p, len, "%s:%s;", key, enum_font_size[i].key); } } |
