[ui] fix UI font for XP users

* DIE, XP, DIE!!!!
* Closes #820
This commit is contained in:
Pete Batard 2016-08-29 18:17:15 +01:00
parent 5d3be6ca51
commit cc758f58a0
2 changed files with 6 additions and 6 deletions

View file

@ -1693,7 +1693,7 @@ LPCDLGTEMPLATE GetDialogTemplate(int Dialog_ID)
// We can't simply zero the characters we don't want, as the size of the font
// string determines the next item lookup. So we must memmove the remaining of
// our buffer. Oh, and those items are DWORD aligned.
if (IsFontAvailable("Segoe UI")) {
if ((nWindowsVersion > WINDOWS_XP) && IsFontAvailable("Segoe UI")) {
// 'Segoe UI Symbol' -> 'Segoe UI'
wBuf[8] = 0;
} else {