mirror of
https://github.com/byteworksinc/DumpObj.git
synced 2024-11-21 23:31:29 +00:00
Update DumpOBJ.cc
This commit is contained in:
parent
d23267469a
commit
096d5b589c
@ -437,14 +437,16 @@ if (disp)
|
||||
for (i = 0; i < disp; ++i)
|
||||
fgetc(f);
|
||||
|
||||
if (version == 0) loadname[0] = 0;
|
||||
if (version == 0)
|
||||
loadname[0] = 0;
|
||||
else {
|
||||
for (i = 0; i < 10; ++i) /* read the load segment name */
|
||||
loadname[i] = fgetc(f);
|
||||
loadname[10] = (char) 0;
|
||||
}
|
||||
len = lablen;
|
||||
if (!len) len = fgetc(f); /* read the code segment name */
|
||||
if (!len)
|
||||
len = fgetc(f); /* read the code segment name */
|
||||
for (i = 0; i < len; ++i)
|
||||
segname[i] = fgetc(f);
|
||||
segname[len] = (char) 0;
|
||||
|
Loading…
Reference in New Issue
Block a user