From 1bb65b2618d3d7b320d60a4a279e2df64dd4a24d Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Mon, 7 Sep 2020 09:54:05 +0100 Subject: [PATCH] Remove bit fields and use fixed width integers instead. --- scene/gui/text_edit.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index 17534cbbc85..562f4768ae6 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -79,10 +79,10 @@ private: struct Line { Vector gutters; - int width_cache : 24; - bool marked : 1; - bool hidden : 1; - int wrap_amount_cache : 24; + int32_t width_cache; + bool marked; + bool hidden; + int32_t wrap_amount_cache; String data; Line() { width_cache = 0;