Skip to content

Commit

Permalink
Fixed|libgui|RowAtlasAllocator: Horizontal margin was ignored when al…
Browse files Browse the repository at this point in the history
…locating
  • Loading branch information
skyjake committed Oct 26, 2014
1 parent 7e9791d commit f5f96d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libgui/src/graphics/rowatlasallocator.cpp
Expand Up @@ -338,7 +338,7 @@ DENG2_PIMPL(RowAtlasAllocator)
}

// Got a place, mark it down.
if(Slot *addedSlot = slot->allocateAndSplit(id? Id(id) : Id(), size.x))
if(Slot *addedSlot = slot->allocateAndSplit(id? Id(id) : Id(), needed.x))
{
addVacant(addedSlot);
}
Expand Down

0 comments on commit f5f96d3

Please sign in to comment.