Commit 8d832d51 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix typo causing the PowerPC OS X build to fail

parent f7c548fd
......@@ -1324,7 +1324,7 @@ loadObj( char *path )
// that the actual sections end up aligned again.
oc->misalignment = machoGetMisalignment(f);
oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)");
oc->image += misalignment;
oc->image += oc->misalignment;
# else
oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)");
# endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment