aboutsummaryrefslogtreecommitdiffstats
path: root/parsetagx.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--parsetagx.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/parsetagx.c b/parsetagx.c
index 08b3f8e..fb6e9a5 100644
--- a/parsetagx.c
+++ b/parsetagx.c
@@ -1,4 +1,4 @@
-/* $Id: parsetagx.c,v 1.7 2001/12/02 16:26:08 ukai Exp $ */
+/* $Id: parsetagx.c,v 1.8 2002/01/31 17:54:53 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include "indep.h"
@@ -73,6 +73,12 @@ toAlign(char *oval, int *align)
*align = ALIGN_RIGHT;
else if (strcasecmp(oval, "center") == 0)
*align = ALIGN_CENTER;
+ else if (strcasecmp(oval, "top") == 0)
+ *align = ALIGN_TOP;
+ else if (strcasecmp(oval, "bottom") == 0)
+ *align = ALIGN_BOTTOM;
+ else if (strcasecmp(oval, "middle") == 0)
+ *align = ALIGN_MIDDLE;
else
return 0;
return 1;