summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtemplate/templatefunction.c')
-rw-r--r--libtemplate/templatefunction.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtemplate/templatefunction.c b/libtemplate/templatefunction.c
index afbc5fa..9081d23 100644
--- a/libtemplate/templatefunction.c
+++ b/libtemplate/templatefunction.c
@@ -188,7 +188,7 @@ void cTemplateFunction::SetTextboxHeight(int boxHeight) {
}
void cTemplateFunction::SetTranslatedText(string translation) {
- if (type != ftDrawText && type != ftDrawTextBox)
+ if (type != ftDrawText && type != ftDrawTextBox && type != ftDrawTextVertical)
return;
if (translation.size() == 0)
return;
@@ -1454,6 +1454,9 @@ string cTemplateFunction::GetFuncName(void) {
case ftDrawTextBox:
name = "Function DrawTextBox";
break;
+ case ftDrawTextVertical:
+ name = "Function DrawTextVertical";
+ break;
case ftDrawImage:
name = "Function DrawImage";
break;