From: Michael Stapelberg Date: Sat, 7 Nov 2009 15:51:10 +0000 (+0100) Subject: Bugfix: Don’t access wrong parameter (Thanks atsutane) X-Git-Tag: 3.d~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=876417f49d11e7f9c28e33c78107d0659e7b489e;p=i3%2Fi3 Bugfix: Don’t access wrong parameter (Thanks atsutane) --- 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); } } ;