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 ) ...@@ -1324,7 +1324,7 @@ loadObj( char *path )
// that the actual sections end up aligned again. // that the actual sections end up aligned again.
oc->misalignment = machoGetMisalignment(f); oc->misalignment = machoGetMisalignment(f);
oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)"); oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)");
oc->image += misalignment; oc->image += oc->misalignment;
# else # else
oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)"); oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)");
# endif # 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