From 46b80552c6ecd163a07a4f501e5d9083634aef28 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 28 Feb 2008 16:19:26 +0100 Subject: [PATCH] add support for flex -> AlignFlex --- common/draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/draw.c b/common/draw.c index ba666d97..3ff03726 100644 --- a/common/draw.c +++ b/common/draw.c @@ -613,6 +613,8 @@ draw_get_align(const char *align) return AlignCenter; else if(!a_strncmp(align, "right", 5)) return AlignRight; + else if(!a_strncmp(align, "flex", 4)) + return AlignFlex; return AlignAuto; }