X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=62dd1955a7e81115e80bcbcbb2eec1ff9aab772c;hb=4501b122e642d155b343608c2799f8c993fb7d38;hp=9a61347ac0b692782f5aee43676092b8d525dd65;hpb=95c13345546e196b02bcfc763165df2a7dba9c78;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;