Fixed a long-standing bug in config.c, should reduce crashes on hard reset after settings changes.
This commit is contained in:
@@ -103,6 +103,8 @@ typedef struct {
|
||||
} \
|
||||
\
|
||||
(next)->next = (old)->next; \
|
||||
if ((next) == (head)) \
|
||||
(head)->next = (old)->next; \
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user