diff --git a/include/mapnik/text_symbolizer.hpp b/include/mapnik/text_symbolizer.hpp index 7d1d13082..2693a17f5 100644 --- a/include/mapnik/text_symbolizer.hpp +++ b/include/mapnik/text_symbolizer.hpp @@ -93,7 +93,7 @@ namespace mapnik void set_label_placement(label_placement_e label_p); label_placement_e get_label_placement() const; void set_vertical_alignment(vertical_alignment_e valign); - vertical_alignment get_vertical_alignment() const; + vertical_alignment_e get_vertical_alignment() const; void set_anchor(double x, double y); position const& get_anchor() const; void set_displacement(double x, double y); diff --git a/src/text_symbolizer.cpp b/src/text_symbolizer.cpp index 1a00c9f09..367c6b69b 100644 --- a/src/text_symbolizer.cpp +++ b/src/text_symbolizer.cpp @@ -286,9 +286,9 @@ namespace mapnik valign_ = valign; } - vertical_alignment text_symbolizer::get_vertical_alignment() const + vertical_alignment_e text_symbolizer::get_vertical_alignment() const { - return valign_; + return valign_; } void text_symbolizer::set_anchor(double x, double y)