mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 19:16:44 +01:00
fix infinite loop with config handling
This commit is contained in:
parent
334adcf9c0
commit
5fd6b4b912
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ void AppendToConfig(char* section, char* name, char* value) {
|
||||||
new->next = old->next;
|
new->next = old->next;
|
||||||
old->next = new;
|
old->next = new;
|
||||||
} else {
|
} else {
|
||||||
old->next = new;
|
if (old!=new) old->next = new;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue