]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t access wrong parameter (Thanks atsutane)
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Nov 2009 15:51:10 +0000 (16:51 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Nov 2009 15:51:10 +0000 (16:51 +0100)
src/cfgparse.y

index 8d980ced84303d1b8caffd8a9dcf278c96b12276..9d34508a6d9566f2a5403960567bae986f147e7f 100644 (file)
@@ -386,8 +386,8 @@ workspace:
                 if (ws_num < 1) {
                         LOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num);
                 } else {
-                        if ($<string>4 != NULL)
-                                workspace_set_name(workspace_get(ws_num - 1), $<string>4);
+                        if ($<string>5 != NULL)
+                                workspace_set_name(workspace_get(ws_num - 1), $<string>5);
                 }
         }
         ;