Commit 8e899e00 authored by Julius Schwartzenberg's avatar Julius Schwartzenberg Committed by Alexandre Julliard

user32: Change extra value for standard edit class to 6.

Civilization II crashes when trying to display an edit box when this value is anything other than six. It crashes in exactly the same way on Windows XP 64-bit.
parent 104a0f54
......@@ -5425,7 +5425,11 @@ const struct builtin_class_descr EDIT_builtin_class =
CS_DBLCLKS | CS_PARENTDC, /* style */
EditWndProcA, /* procA */
EditWndProcW, /* procW */
#ifdef _WIN64
sizeof(EDITSTATE *), /* extra */
#else
sizeof(EDITSTATE *) + sizeof(HANDLE16), /* extra */
#endif
IDC_IBEAM, /* cursor */
0 /* brush */
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment