[PATCH v2 6/8] shell32/autocomplete: Re-arrange some fields for better packing

Gabriel Ivăncescu gabrielopcode at gmail.com
Tue Sep 25 06:55:32 CDT 2018


Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---

Minor patch split from the next patch in the series from where it helps
more. options field only really helps slightly with x86_64 to reduce
padding bytes.

 dlls/shell32/autocomplete.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 05648c7..b3a6808 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -67,8 +67,9 @@ typedef struct
     IAutoComplete2 IAutoComplete2_iface;
     IAutoCompleteDropDown IAutoCompleteDropDown_iface;
     LONG ref;
-    BOOL initialized;
-    BOOL enabled;
+    BOOLEAN initialized;
+    BOOLEAN enabled;
+    AUTOCOMPLETEOPTIONS options;
     HWND hwndEdit;
     HWND hwndListBox;
     WNDPROC wpOrigEditProc;
@@ -76,7 +77,6 @@ typedef struct
     WCHAR *txtbackup;
     WCHAR *quickComplete;
     IEnumString *enumstr;
-    AUTOCOMPLETEOPTIONS options;
 } IAutoCompleteImpl;
 
 enum autoappend_flag
-- 
1.9.1




More information about the wine-devel mailing list