From a6182da3f4c11e4f7b909fd860d4ae98565d6151 Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Thu, 12 Jul 2007 08:13:18 +0000 Subject: [PATCH] - 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 --- reactos/dll/win32/user32/windows/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/font.c b/reactos/dll/win32/user32/windows/font.c index 612eb8d72a8..a1d4ffb8dc5 100644 --- a/reactos/dll/win32/user32/windows/font.c +++ b/reactos/dll/win32/user32/windows/font.c @@ -1156,7 +1156,7 @@ DrawTextExW( HDC hdc, LPWSTR str, INT i_count, 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;