mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +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")) {
|
if (strequal(line->str, "IMMEDIATE") || strequal(line->str, ".imm")) {
|
||||||
dsprintf (line, "%s", s);
|
dsprintf (line, "%s", s);
|
||||||
} else {
|
} else {
|
||||||
if (contents) {
|
if (contents)
|
||||||
if (!def)
|
|
||||||
dasprintf (line, "(%08x)", ofs);
|
|
||||||
dasprintf (line, "%s(%s)", oi, s);
|
dasprintf (line, "%s(%s)", oi, s);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return line->str;
|
return line->str;
|
||||||
|
|
Loading…
Reference in a new issue