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:
parent
726609a573
commit
c3111a63be
@ -41,9 +41,9 @@ static t_opseq *pending_seq = 0;
|
|||||||
#define FIXUP_WORD 0x80
|
#define FIXUP_WORD 0x80
|
||||||
int id_match(char *name, int len, char *id)
|
int id_match(char *name, int len, char *id)
|
||||||
{
|
{
|
||||||
|
if (len > ID_LEN) len = ID_LEN;
|
||||||
if (len == id[0])
|
if (len == id[0])
|
||||||
{
|
{
|
||||||
if (len > ID_LEN) len = ID_LEN;
|
|
||||||
while (len--)
|
while (len--)
|
||||||
{
|
{
|
||||||
if (toupper(name[len]) != id[1 + len])
|
if (toupper(name[len]) != id[1 + len])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user