mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
make globals without a def a lot easier to read (don't need to print the
address twice:)
This commit is contained in:
parent
50f83f7701
commit
080b973479
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue