diff -r c39d60829f67 -r 98750b173cd5 screen.c --- a/screen.c Wed Aug 22 19:02:17 2007 +0200 +++ b/screen.c Wed Aug 22 19:06:35 2007 +0200 @@ -3,6 +3,7 @@ #include #include #include +#include #include /* static */ @@ -245,7 +246,7 @@ } else { for(i = 0; i < nlayouts; i++) - if(arg == layouts[i].symbol) + if(!strcmp(arg, layouts[i].symbol)) break; if(i == nlayouts) return;