From 876417f49d11e7f9c28e33c78107d0659e7b489e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 7 Nov 2009 16:51:10 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20access=20wrong=20param?= =?utf8?q?eter=20(Thanks=20atsutane)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cfgparse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } ; -- 2.39.5