From 02eca0825fbc60ee147f5f62fd41e063048199eb Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sun, 22 Jan 2012 19:17:59 +0100 Subject: [PATCH] Fix set_displacement(). --- src/text_symbolizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text_symbolizer.cpp b/src/text_symbolizer.cpp index 17b7407d5..2966e73d1 100644 --- a/src/text_symbolizer.cpp +++ b/src/text_symbolizer.cpp @@ -347,7 +347,7 @@ void text_symbolizer::set_displacement(double x, double y) void text_symbolizer::set_displacement(position const& p) { - placement_options_->set_default_displacement(p); + placement_options_->properties.displacement = p; } position const& text_symbolizer::get_displacement() const