Skip to content

Commit

Permalink
Fix an error initializing needsCrossTrailingPos
Browse files Browse the repository at this point in the history
Summary: facebook#259

Reviewed By: gkassabli

Differential Revision: D4271422

fbshipit-source-id: e8d72af742d96829684958780eb56e2c375df20c
  • Loading branch information
Emil Sjolander authored and Facebook Github Bot committed Dec 5, 2016
1 parent 901f65c commit 4710a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSSLayout/Yoga.c
Original file line number Diff line number Diff line change
Expand Up @@ -2240,7 +2240,7 @@ static void YGNodelayoutImpl(const YGNodeRef node,
const bool needsMainTrailingPos =
mainAxis == YGFlexDirectionRowReverse || mainAxis == YGFlexDirectionColumnReverse;
const bool needsCrossTrailingPos =
YGFlexDirectionRowReverse || crossAxis == YGFlexDirectionColumnReverse;
crossAxis == YGFlexDirectionRowReverse || crossAxis == YGFlexDirectionColumnReverse;

// Set trailing position if necessary.
if (needsMainTrailingPos || needsCrossTrailingPos) {
Expand Down

0 comments on commit 4710a65

Please sign in to comment.