Fixed a long-standing bug in config.c, should reduce crashes on hard reset after settings changes.

This commit is contained in:
OBattler
2020-05-06 00:23:53 +02:00
parent 3027422e88
commit 989f7bfb51

View File

@@ -103,6 +103,8 @@ typedef struct {
} \
\
(next)->next = (old)->next; \
if ((next) == (head)) \
(head)->next = (old)->next; \
}