[wmfs.c] Change getlayoutsym function

This commit is contained in:
Martin Duquesnoy
2008-09-13 13:49:45 +02:00
parent 5966fd8935
commit 4ce7d31f66

9
wmfs.c
View File

@@ -162,13 +162,12 @@ getnext(Client *c) {
char* char*
getlayoutsym(int l) { getlayoutsym(int l) {
char *t;
switch(layout[seltag]) { switch(layout[seltag]) {
case Free: t = conf.layouts.free; break; case Free: return conf.layouts.free; break;
case Tile: t = conf.layouts.tile; break; case Tile: return conf.layouts.tile; break;
case Max: t = conf.layouts.max; break; case Max: return conf.layouts.max; break;
} }
return t; return NULL;
} }
Client* Client*