summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index e0cd1e947..068550878 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -3597,7 +3597,7 @@ sp_style_write_ipaint(gchar *b, gint const len, gchar const *const key,
}
if ( !css.str().empty() ) {
- retval = g_snprintf( b, len, "%s:%s;", key, css.gcharp() );
+ retval = g_snprintf( b, len, "%s:%s;", key, css.str().c_str() );
}
}