summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-flowtext.cpp')
-rw-r--r--src/sp-flowtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 23eba73b1..5e13218f5 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -204,7 +204,7 @@ void SPFlowtext::set(unsigned int key, const gchar* value) {
if ( val == NULL ) {
this->par_indent = 0.0;
} else {
- sp_repr_get_double((Inkscape::XML::Node*)opts, "par-indent", &this->par_indent);
+ this->par_indent = g_ascii_strtod(val, NULL);
}
}