Author: jgardou
Date: Mon Nov 5 22:51:32 2012
New Revision: 57679
URL:
http://svn.reactos.org/svn/reactos?rev=57679&view=rev
Log:
[USER32]
- Avoid more rounding issues and hopefully fix MSC build
Modified:
trunk/reactos/win32ss/user/user32/controls/edit.c
Modified: trunk/reactos/win32ss/user/user32/controls/edit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/edit.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/edit.c [iso-8859-1] Mon Nov 5 22:51:32
2012
@@ -400,7 +400,7 @@
tabdef.pTabStops = es->tabs;
tabdef.iTabOrigin = 0;
- ScriptStringAnalyse(udc, &es->text[index], line_def->net_length,
(1.5*line_def->net_length+16), -1, SSA_LINK|SSA_FALLBACK|SSA_GLYPHS|SSA_TAB, -1, NULL,
NULL, NULL, &tabdef, NULL, &line_def->ssa);
+ ScriptStringAnalyse(udc, &es->text[index], line_def->net_length,
(3*line_def->net_length/2+16), -1, SSA_LINK|SSA_FALLBACK|SSA_GLYPHS|SSA_TAB, -1, NULL,
NULL, NULL, &tabdef, NULL, &line_def->ssa);
if (es->font)
SelectObject(udc, old_font);