Closed Witek90 closed 3 months ago
Hi, @Witek90 and thanks for PR!
Can you please clarify, what input string causes infinite-loop on previous implementation?
Hi,
some of my installed mods must have modified (whitespace after comma) the original input string:
invCatOrder=COMBAT, POTION, FOOD, ARMOR, MAGIC, RUNE, DOCS, OTHER, NONE
some of my installed mods must have modified (whitespace after comma) the original input string:
Thanks for explaining! I've pushed a more simple code to fix this problem, that will allow ,
, `,
\t` as separators
Unexpected characters like whitespace in value of
invCatOrder
insystem/GOTHIC.ini
cause infinite-loop:invCatOrder=COMBAT, POTION, FOOD, ARMOR, MAGIC, RUNE, DOCS, OTHER, NONE