mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 06:06:27 +00:00
Revert the aesthetic hack of r27608
We used Bitstream/DejaVu fonts for everything at that time, but the current Tahoma font doesn't need this hack. This way, all window controls with mnemonic keys have the underscore placed as under Windows :-) svn path=/trunk/; revision=36329
This commit is contained in:
parent
b4c9d9e321
commit
773113715b
|
@ -1165,7 +1165,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 && !(flags & DT_HIDEPREFIX))
|
if (prefix_offset != -1 && prefix_offset < len_seg && !(flags & DT_HIDEPREFIX))
|
||||||
{
|
{
|
||||||
TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 2, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
|
TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 1, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
|
||||||
}
|
}
|
||||||
len -= len_seg;
|
len -= len_seg;
|
||||||
str += len_seg;
|
str += len_seg;
|
||||||
|
|
Loading…
Reference in a new issue