From 2deebfa44bd543c085236a50e1899dca8da8a711 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 19 Feb 2025 15:10:55 -0500 Subject: [PATCH] BMenuBar: Move new reserved field to the proper place. Without this, the amount of padding on the end of the class changes, which could affect the ABI of any classes that inherit from this one. --- headers/os/interface/MenuBar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/os/interface/MenuBar.h b/headers/os/interface/MenuBar.h index 3b1a78a06e..c5dba71bac 100644 --- a/headers/os/interface/MenuBar.h +++ b/headers/os/interface/MenuBar.h @@ -106,9 +106,10 @@ private: menu_bar_border fBorder; thread_id fTrackingPID; int32 fPrevFocusToken; + uint32 _reserved1; BRect* fLastBounds; uint32 fBorders; - uint32 _reserved[2]; + uint32 _reserved[1]; bool fTracking; };