New test.
[libsub.git] / src / vertical_reference.cc
index 3f9219badae0a903bd16b454b360b1a32ff01c78..d7833a1c9caa8451d92f540ff1021e321c7eb515 100644 (file)
@@ -30,10 +30,10 @@ sub::string_to_vertical_reference (string s)
        if (s == "top") {
                return TOP_OF_SCREEN;
        } else if (s == "center") {
-               return CENTRE_OF_SCREEN;
+               return VERTICAL_CENTRE_OF_SCREEN;
        } else if (s == "bottom") {
                return BOTTOM_OF_SCREEN;
        }
-       
+
        throw XMLError ("unknown subtitle valign type");
 }