[ros-diffs] [gedmurphy] 27608: - Allow a greater distance between the underscore and the text for aesthetics - Patch by David Leon (david at 126 dot com)

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Thu Jul 12 10:13:19 CEST 2007


Author: gedmurphy
Date: Thu Jul 12 12:13:18 2007
New Revision: 27608

URL: http://svn.reactos.org/svn/reactos?rev=27608&view=rev
Log:
- Allow a greater distance between the underscore and the text for aesthetics
- Patch by David Leon (david at 126 dot com)

Modified:
    trunk/reactos/dll/win32/user32/windows/font.c

Modified: trunk/reactos/dll/win32/user32/windows/font.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/font.c?rev=27608&r1=27607&r2=27608&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/font.c (original)
+++ trunk/reactos/dll/win32/user32/windows/font.c Thu Jul 12 12:13:18 2007
@@ -1156,7 +1156,7 @@
                                  rect, str, len_seg, NULL ))  return 0;
                 if (prefix_offset != -1 && prefix_offset < len_seg)
                 {
-                    TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 1, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
+                    TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 2, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
                 }
                 len -= len_seg;
                 str += len_seg;




More information about the Ros-diffs mailing list