mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
redirect: Fix broken list behaviour
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -68,7 +68,8 @@ void lsi_redirect_profile_insert_rule(LsiRedirectProfile *self, LsiRedirect *red
|
||||
|
||||
/* Set head or prepend the rule */
|
||||
if (self->op_table[op]) {
|
||||
self->op_table[op] = redirect->next = self->op_table[op];
|
||||
redirect->next = self->op_table[op];
|
||||
self->op_table[op] = redirect;
|
||||
} else {
|
||||
self->op_table[op] = redirect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user