projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New test.
[libsub.git]
/
src
/
vertical_reference.cc
diff --git
a/src/vertical_reference.cc
b/src/vertical_reference.cc
index 3f9219badae0a903bd16b454b360b1a32ff01c78..d7833a1c9caa8451d92f540ff1021e321c7eb515 100644
(file)
--- a/
src/vertical_reference.cc
+++ b/
src/vertical_reference.cc
@@
-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");
}