diff --git a/src/cfgparse.y b/src/cfgparse.y index 8d980ced..9d34508a 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -386,8 +386,8 @@ workspace: if (ws_num < 1) { LOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num); } else { - if ($4 != NULL) - workspace_set_name(workspace_get(ws_num - 1), $4); + if ($5 != NULL) + workspace_set_name(workspace_get(ws_num - 1), $5); } } ;