user32: Fix the edit class extra byte count on non-x86 platforms

André Hentschel nerv at dawncrow.de
Sun Jul 22 11:35:30 CDT 2012


until we know better...
---
 dlls/user32/edit.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index ad71a2b..40553e3 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -5172,10 +5172,10 @@ const struct builtin_class_descr EDIT_builtin_class =
     editW,                /* name */
     CS_DBLCLKS | CS_PARENTDC,   /* style */
     WINPROC_EDIT,         /* proc */
-#ifdef __i386__
-    sizeof(EDITSTATE *) + sizeof(WORD), /* extra */
-#else
+#ifdef WIN64
     sizeof(EDITSTATE *),  /* extra */
+#else
+    sizeof(EDITSTATE *) + sizeof(WORD), /* extra */
 #endif
     IDC_IBEAM,            /* cursor */
     0                     /* brush */
-- 
1.7.4.1


-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list