fix print edge value.

Summary: Closes https://github.com/facebook/yoga/pull/551

Differential Revision: D5069358

Pulled By: emilsjolander

fbshipit-source-id: 8a8f07043d43f9f2d846a645217a52913cffe31b
This commit is contained in:
yihuang 2017-05-21 06:45:26 -07:00 committed by Facebook Github Bot
parent 213ea30346
commit cf5535b86f
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ static void YGPrintEdgeIfNotUndefined(const YGNodeRef node,
const char *str,
const YGValue *edges,
const YGEdge edge) {
YGPrintNumberIfNotUndefined(node, str, YGComputedEdgeValue(edges, YGEdgeLeft, &YGValueUndefined));
YGPrintNumberIfNotUndefined(node, str, YGComputedEdgeValue(edges, edge, &YGValueUndefined));
}
static void YGPrintNumberIfNotZero(const YGNodeRef node,