From f52513b09580c1533e6c48a4162d3d5f61f3b081 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 5 Mar 2021 18:23:13 +0100 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma_name_of_subpixel_order.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libgamma_name_of_subpixel_order.c') diff --git a/libgamma_name_of_subpixel_order.c b/libgamma_name_of_subpixel_order.c index f8c0bf8..c3612bf 100644 --- a/libgamma_name_of_subpixel_order.c +++ b/libgamma_name_of_subpixel_order.c @@ -17,8 +17,9 @@ const char * libgamma_name_of_subpixel_order(int order) { switch (order) { -#define X(CONST, NAME)\ - case CONST: return NAME; +#define X(CONST, NAME, ...)\ + case CONST:\ + return NAME; LIST_SUBPIXEL_ORDERS(X) #undef X default: -- cgit v1.2.3-70-g09d2