fix a silly error causing integer constants to not be re-used

This commit is contained in:
Bill Currie 2001-08-10 17:41:08 +00:00
parent a33c834a39
commit 9e46265046

View file

@ -77,7 +77,7 @@ int_imm_get_key (void *_def, void *_str)
def_t *def = (def_t*)_def;
static char rep[60];
char *str = (char*)_str;
sprintf (rep, "\001%s:%08X", str, G_INT(def->ofs));
sprintf (rep, "\001%s:%08X\001", str, G_INT(def->ofs));
return rep;
}