mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-02-20 17:29:11 +00:00
Ensure max of 32 characters significant for IDs
This commit is contained in:
parent
bb41023498
commit
c4551c2c59
@ -130,7 +130,7 @@ int idlocal_add(char *name, int len, int type, int size)
|
||||
return (0);
|
||||
}
|
||||
if (len > ID_LEN) len = ID_LEN;
|
||||
char c = name[len];
|
||||
c = name[len];
|
||||
name[len] = '\0';
|
||||
emit_idlocal(name, localsize);
|
||||
name[len] = c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user