1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-23 14:30:48 +00:00

Make sure 32 characters significant for import/export ID

This commit is contained in:
David Schmenk 2022-07-19 18:16:36 -07:00
parent 726609a573
commit c3111a63be

View File

@ -41,9 +41,9 @@ static t_opseq *pending_seq = 0;
#define FIXUP_WORD 0x80
int id_match(char *name, int len, char *id)
{
if (len > ID_LEN) len = ID_LEN;
if (len == id[0])
{
if (len > ID_LEN) len = ID_LEN;
while (len--)
{
if (toupper(name[len]) != id[1 + len])