Fixed trainerproc skipping numbers when writing species IDs (#4366)
Credit for MGriffin for the fix
This commit is contained in:
parent
297def722a
commit
d8072795db
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,7 @@ static void fprint_species(FILE *f, const char *prefix, struct String s)
|
|||
for (int i = 0; i < s.string_n; i++)
|
||||
{
|
||||
unsigned char c = s.string[i];
|
||||
if ('A' <= c && c <= 'Z')
|
||||
if (('A' <= c && c <= 'Z') || ('0' <= c && c <= '9'))
|
||||
{
|
||||
if (underscore)
|
||||
fputc('_', f);
|
||||
|
|
Loading…
Reference in a new issue