Index: dll/win32/riched20/paint.c
===================================================================
--- dll/win32/riched20/paint.c	(revision 72975)
+++ dll/win32/riched20/paint.c	(working copy)
@@ -332,12 +332,7 @@
     old_text = SetTextColor( c->hDC, text_color );
     if (selected) old_back = SetBkColor( c->hDC, back_color );
 
-    if (run->para->nFlags & MEPF_COMPLEX)
-        ScriptTextOut( c->hDC, &run->style->script_cache, x, y, selected ? ETO_OPAQUE : 0, sel_rect,
-                       &run->script_analysis, NULL, 0, run->glyphs, run->num_glyphs, run->advances,
-                       NULL, run->offsets );
-    else
-        ExtTextOutW( c->hDC, x, y, selected ? ETO_OPAQUE : 0, sel_rect, text, run->len, NULL );
+    ExtTextOutW( c->hDC, x, y, selected ? ETO_OPAQUE : 0, sel_rect, text, run->len, NULL );
 
     if (selected) SetBkColor( c->hDC, old_back );
     SetTextColor( c->hDC, old_text );
