[PATCH v3 4/6] shell32/autocomplete: Re-arrange some fields for better packing
Gabriel Ivăncescu
gabrielopcode at gmail.com
Wed Sep 26 16:35:24 CDT 2018
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
v3: Use bitfield for future expansion.
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 5cf63fe..d9b109d 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;
+ BYTE initialized : 1;
+ BYTE enabled : 1;
+ 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