user32: Added support for WS_EX_RIGHT in the edit control.
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index a5265e9..0866533 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -4813,6 +4813,9 @@
if (es->style & ES_COMBO)
es->hwndListBox = GetDlgItem(es->hwndParent, ID_CB_LISTBOX);
+ /* FIXME: should we handle changes to WS_EX_RIGHT style after creation? */
+ if (lpcs->dwExStyle & WS_EX_RIGHT) es->style |= ES_RIGHT;
+
/* Number overrides lowercase overrides uppercase (at least it
* does in Win95). However I'll bet that ES_NUMBER would be
* invalid under Win 3.1.