X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=62dd1955a7e81115e80bcbcbb2eec1ff9aab772c;hb=4501b122e642d155b343608c2799f8c993fb7d38;hp=9a61347ac0b692782f5aee43676092b8d525dd65;hpb=b8de26993fd4c73643d3c3f459f7297a07249d0a;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index 9a61347..62dd195 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -6927,7 +6927,7 @@ setup_screens(void) /* init all workspaces */ /* XXX these should be dynamically allocated too */ - for (j = 0; j < workspace_limit; j++) { + for (j = 0; j < SWM_WS_MAX; j++) { ws = &screens[i].ws[j]; ws->idx = j; ws->name = NULL;