From d11a323120b7aae53f178877ca4c4cc59ab6a1d1 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Thu, 24 Jul 2014 13:55:09 -0400 Subject: [PATCH] TextView: Fix FBC size breakage, take 2 Double checked BeOS R5 & Haiku R1/A4 and BTextView should be 356 bytes, somewhere since then we've added 4 bytes. So, this commit reduces the class size from 360 back to 356 by removing 1 reserved int32 (instead of 2). I believe the class size changed in hrev46798 as a result of adding 2 bools (1 byte each padded out to 4 bytes). Sorry for the noise. --- headers/os/interface/TextView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/os/interface/TextView.h b/headers/os/interface/TextView.h index 907151ece1..6fa15ca118 100644 --- a/headers/os/interface/TextView.h +++ b/headers/os/interface/TextView.h @@ -460,7 +460,7 @@ private: bool fInstalledSelectOptionLinewiseShortcuts; bool fInstalledSelectHomeEndDocwiseShortcuts; - uint32 _reserved[6]; + uint32 _reserved[5]; }; #endif // _TEXTVIEW_H