summaryrefslogtreecommitdiffstats
path: root/src/sp-string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-string.cpp')
-rw-r--r--src/sp-string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-string.cpp b/src/sp-string.cpp
index c116e8dd8..3512aa45a 100644
--- a/src/sp-string.cpp
+++ b/src/sp-string.cpp
@@ -146,7 +146,7 @@ sp_string_read_content(SPObject *object)
whitespace = false;
}
}
- if (whitespace && SP_OBJECT_REPR(object)->next() != NULL) { // can't use SPObject::getNext() when the SPObject tree is still being built
+ if (whitespace && object->getRepr()->next() != NULL) { // can't use SPObject::getNext() when the SPObject tree is still being built
string->string += ' ';
}
}