Skip to content

Commit cf5535b

Browse files
yihuangfacebook-github-bot
authored andcommitted
fix print edge value.
Summary: Closes facebook/yoga#551 Differential Revision: D5069358 Pulled By: emilsjolander fbshipit-source-id: 8a8f07043d43f9f2d846a645217a52913cffe31b
1 parent 213ea30 commit cf5535b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactCommon/yoga/yoga/Yoga.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ static void YGPrintEdgeIfNotUndefined(const YGNodeRef node,
874874
const char *str,
875875
const YGValue *edges,
876876
const YGEdge edge) {
877-
YGPrintNumberIfNotUndefined(node, str, YGComputedEdgeValue(edges, YGEdgeLeft, &YGValueUndefined));
877+
YGPrintNumberIfNotUndefined(node, str, YGComputedEdgeValue(edges, edge, &YGValueUndefined));
878878
}
879879

880880
static void YGPrintNumberIfNotZero(const YGNodeRef node,

0 commit comments

Comments
 (0)