mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 05:55:45 +00:00
- Allow a greater distance between the underscore and the text for aesthetics
- Patch by David Leon (david at 126 dot com) svn path=/trunk/; revision=27608
This commit is contained in:
parent
9f3137e69e
commit
a6182da3f4
1 changed files with 1 additions and 1 deletions
|
@ -1156,7 +1156,7 @@ DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
|
||||||
rect, str, len_seg, NULL )) return 0;
|
rect, str, len_seg, NULL )) return 0;
|
||||||
if (prefix_offset != -1 && prefix_offset < len_seg)
|
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;
|
len -= len_seg;
|
||||||
str += len_seg;
|
str += len_seg;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue