From 53d8d15ffed80254b9aa898aa22de65a8c7f63f2 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Mon, 29 Sep 2008 01:55:57 +0200 Subject: [PATCH] [wmfs.h confg.c] Remove useless enum --- config.c | 2 +- wmfs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config.c b/config.c index 14d783f..d470dfd 100644 --- a/config.c +++ b/config.c @@ -126,7 +126,7 @@ layout_name_to_struct(Layout lt[], char *name) for(i = 0; i < MAXLAYOUT; ++i) if(lt[i].func == name_to_func(name, layout_list)) return lt[i]; - return lt[Tile]; + return lt[0]; } void diff --git a/wmfs.h b/wmfs.h index eb8f573..a41498a 100644 --- a/wmfs.h +++ b/wmfs.h @@ -185,7 +185,6 @@ typedef struct enum { CurNormal, CurResize, CurMove, CurLast }; enum { WMState, WMProtocols, WMName, WMDelete, WMLast }; enum { NetSupported, NetWMName, NetLast }; -enum { Tile = 0, Max = 1, Free = 2}; /* Functions Prototypes */