fix a /really/ silly error that broke def relocations

This commit is contained in:
Bill Currie 2002-07-15 22:10:03 +00:00
parent a4ad662b63
commit bf858856b8

View file

@ -223,7 +223,7 @@ fixup_def (qfo_t *qfo, qfo_def_t *def, int def_num)
if ((def->flags & (QFOD_LOCAL | QFOD_ABSOLUTE)))
return;
if (!def->flags & QFOD_EXTERNAL) {
if (!(def->flags & QFOD_EXTERNAL)) {
def->ofs += data_base;
if (def->basic_type == ev_func && (def->flags & QFOD_INITIALIZED)) {
func = funcs.funcs + data->data[def->ofs].func_var - 1 + func_base;