make globals without a def a lot easier to read (don't need to print the

address twice:)
This commit is contained in:
Bill Currie 2004-02-06 08:03:22 +00:00
parent 50f83f7701
commit 080b973479

View file

@ -596,11 +596,8 @@ global_string (progs_t *pr, int ofs, etype_t type, int contents)
if (strequal(line->str, "IMMEDIATE") || strequal(line->str, ".imm")) {
dsprintf (line, "%s", s);
} else {
if (contents) {
if (!def)
dasprintf (line, "(%08x)", ofs);
if (contents)
dasprintf (line, "%s(%s)", oi, s);
}
}
}
return line->str;