Bugfix: Don’t access wrong parameter (Thanks atsutane)
This commit is contained in:
parent
b3bee0930e
commit
876417f49d
|
@ -386,8 +386,8 @@ workspace:
|
||||||
if (ws_num < 1) {
|
if (ws_num < 1) {
|
||||||
LOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num);
|
LOG("Invalid workspace assignment, workspace number %d out of range\n", ws_num);
|
||||||
} else {
|
} else {
|
||||||
if ($<string>4 != NULL)
|
if ($<string>5 != NULL)
|
||||||
workspace_set_name(workspace_get(ws_num - 1), $<string>4);
|
workspace_set_name(workspace_get(ws_num - 1), $<string>5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue