aboutsummaryrefslogtreecommitdiff
path: root/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/obj.c b/obj.c
index e1b1b4e..50c430a 100644
--- a/obj.c
+++ b/obj.c
@@ -665,6 +665,8 @@ objparse(char *file)
o = alloco("default");
pusho(obj, o);
}
+ if(m != nil)
+ e->mtl = m;
addelem(o, e);
}
break;
@@ -746,6 +748,8 @@ Line2:
o = alloco("default");
pusho(obj, o);
}
+ if(m != nil)
+ e->mtl = m;
addelem(o, e);
}
break;