From 176fa70916c4af33587bc668bdee8ef9f2224ab4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 4 Aug 2009 14:32:39 +0200 Subject: [PATCH] draw: remove useless AlignFixed Signed-off-by: Julien Danjou --- common/tokenize.gperf | 1 - draw.c | 2 -- draw.h | 1 - 3 files changed, 4 deletions(-) diff --git a/common/tokenize.gperf b/common/tokenize.gperf index 10922e1e1..ddaff051a 100644 --- a/common/tokenize.gperf +++ b/common/tokenize.gperf @@ -30,7 +30,6 @@ east ellipsize end fg -fixed flex focus font diff --git a/draw.c b/draw.c index ddc2d6c82..f79e9937b 100644 --- a/draw.c +++ b/draw.c @@ -671,7 +671,6 @@ draw_align_fromstr(const char *align, ssize_t len) { case A_TK_CENTER: return AlignCenter; case A_TK_RIGHT: return AlignRight; - case A_TK_FIXED: return AlignFixed; case A_TK_TOP: return AlignTop; case A_TK_BOTTOM: return AlignBottom; case A_TK_MIDDLE: return AlignMiddle; @@ -691,7 +690,6 @@ draw_align_tostr(alignment_t a) case AlignLeft: return "left"; case AlignCenter: return "center"; case AlignRight: return "right"; - case AlignFixed: return "fixed"; case AlignBottom: return "bottom"; case AlignTop: return "top"; case AlignMiddle: return "middle"; diff --git a/draw.h b/draw.h index 45880b759..0124838bc 100644 --- a/draw.h +++ b/draw.h @@ -51,7 +51,6 @@ typedef enum AlignCenter = (1 << 1), AlignTop = (1 << 2), AlignBottom = (1 << 3), - AlignFixed = (1 << 4), AlignMiddle = (1 << 5) } alignment_t;