From 9175721f07d3b7a8a1091f969fbd0b3ff8a10278 Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Tue, 12 May 2015 10:10:39 +0100 Subject: [PATCH] Removed space before -- for consistency with code style. --- src/Layout.c | 2 +- src/Layout.js | 2 +- src/java/src/com/facebook/csslayout/LayoutEngine.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Layout.c b/src/Layout.c index 116e4ae3..8c7fa5ec 100644 --- a/src/Layout.c +++ b/src/Layout.c @@ -624,7 +624,7 @@ static void layoutNodeImpl(css_node_t *node, float parentMaxWidth, css_direction // If there's only one element, then it's bigger than the content // and needs its own line i != startLine) { - nonFlexibleChildrenCount --; + nonFlexibleChildrenCount--; alreadyComputedNextLayout = 1; break; } diff --git a/src/Layout.js b/src/Layout.js index b263f66b..1653d705 100755 --- a/src/Layout.js +++ b/src/Layout.js @@ -520,7 +520,7 @@ var computeLayout = (function() { // If there's only one element, then it's bigger than the content // and needs its own line i !== startLine) { - nonFlexibleChildrenCount --; + nonFlexibleChildrenCount--; alreadyComputedNextLayout = 1; break; } diff --git a/src/java/src/com/facebook/csslayout/LayoutEngine.java b/src/java/src/com/facebook/csslayout/LayoutEngine.java index 39d9b8be..25a0e233 100644 --- a/src/java/src/com/facebook/csslayout/LayoutEngine.java +++ b/src/java/src/com/facebook/csslayout/LayoutEngine.java @@ -609,7 +609,7 @@ public class LayoutEngine { // If there's only one element, then it's bigger than the content // and needs its own line i != startLine) { - nonFlexibleChildrenCount --; + nonFlexibleChildrenCount--; alreadyComputedNextLayout = 1; break; }