From d06f7b989e02a61d02aa6456b0b61f65b13961d0 Mon Sep 17 00:00:00 2001 From: Yurii Nakonechnyi Date: Tue, 11 Apr 2023 08:28:00 -0700 Subject: [PATCH] Minor formatting: added space in YGNodeMarkDirty assert message (#1243) Summary: Currently `YGNodeMarkDirty()` assert message displayed **without** space between 2 lines: ``` "Only leaf nodes with custom measure functionsshould manually mark themselves as dirty" ^^^^^^^^^^^^^^^ ``` This minor PR fixes it :) Pull Request resolved: https://github.com/facebook/yoga/pull/1243 Reviewed By: jacdebug Differential Revision: D44870410 Pulled By: javache fbshipit-source-id: 58db50106e8e2980ec84c99976f569b94b739d9b --- yoga/Yoga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yoga/Yoga.cpp b/yoga/Yoga.cpp index fc936db4..9989ade0 100644 --- a/yoga/Yoga.cpp +++ b/yoga/Yoga.cpp @@ -444,7 +444,7 @@ YOGA_EXPORT void YGNodeMarkDirty(const YGNodeRef node) { YGAssertWithNode( node, node->hasMeasureFunc(), - "Only leaf nodes with custom measure functions" + "Only leaf nodes with custom measure functions " "should manually mark themselves as dirty"); node->markDirtyAndPropagate();