2
0
Эх сурвалжийг харах

Remove bit fields and use fixed width integers instead.

Marcel Admiraal 5 жил өмнө
parent
commit
1bb65b2618
1 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 4 4
      scene/gui/text_edit.h

+ 4 - 4
scene/gui/text_edit.h

@@ -79,10 +79,10 @@ private:
 		struct Line {
 			Vector<Gutter> 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;