summaryrefslogtreecommitdiff
path: root/src/vertical_reference.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/vertical_reference.cc')
-rw-r--r--src/vertical_reference.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vertical_reference.cc b/src/vertical_reference.cc
index 69f9d84..3f9219b 100644
--- a/src/vertical_reference.cc
+++ b/src/vertical_reference.cc
@@ -28,11 +28,11 @@ VerticalReference
sub::string_to_vertical_reference (string s)
{
if (s == "top") {
- return TOP;
+ return TOP_OF_SCREEN;
} else if (s == "center") {
- return CENTRE;
+ return CENTRE_OF_SCREEN;
} else if (s == "bottom") {
- return BOTTOM;
+ return BOTTOM_OF_SCREEN;
}
throw XMLError ("unknown subtitle valign type");