Bugfix: Don’t access wrong parameter (Thanks atsutane)

This commit is contained in:
Michael Stapelberg 2009-11-07 16:51:10 +01:00
parent b3bee0930e
commit 876417f49d
1 changed files with 2 additions and 2 deletions

View 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);
}
}
;