This should fix certain filter-adjusted item names being cut off early.
The regex string for making this count wasn't being built properly, so this change uses an explicit string that matches both ddraw and glide color formats regardless of used mode. This leaves colorreps unused (and seemingly redundant to COLOR_REPLACEMENTS), so I pulled it out.
This can also be fixed by keeping a full list of colors (ddraw and glide) in colorreps and continuing to use the join().
Both methods were tested (admittedly briefly) and working, but if the latter is preferred, I don't mind switching.
This should fix certain filter-adjusted item names being cut off early.
The regex string for making this count wasn't being built properly, so this change uses an explicit string that matches both ddraw and glide color formats regardless of used mode. This leaves
colorreps
unused (and seemingly redundant toCOLOR_REPLACEMENTS
), so I pulled it out.This can also be fixed by keeping a full list of colors (ddraw and glide) in
colorreps
and continuing to use thejoin()
.Both methods were tested (admittedly briefly) and working, but if the latter is preferred, I don't mind switching.
Kudos to Cy for actually hunting this one down.