Skip to content

Commit a6182da

Browse files
committed
- 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
1 parent 9f3137e commit a6182da

File tree

1 file changed

+1
-1
lines changed
  • reactos/dll/win32/user32/windows

1 file changed

+1
-1
lines changed

reactos/dll/win32/user32/windows/font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
11561156
rect, str, len_seg, NULL )) return 0;
11571157
if (prefix_offset != -1 && prefix_offset < len_seg)
11581158
{
1159-
TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 1, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
1159+
TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 2, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
11601160
}
11611161
len -= len_seg;
11621162
str += len_seg;

0 commit comments

Comments
 (0)