Win32 Fixed typo in font name

This commit is contained in:
GamesTrap 2023-11-19 04:50:20 +01:00
parent 5af8c06714
commit a822381ed7
No known key found for this signature in database
GPG Key ID: 31DFD452434ECDA3

View File

@ -1814,7 +1814,7 @@ static HICON GenerateTextBadgeIcon(HWND hWnd, WCHAR* text)
//Create and set font //Create and set font
badgeData.hFont = CreateFont(fontSize, 0, 0, 0, weight, FALSE, FALSE, FALSE, 0, badgeData.hFont = CreateFont(fontSize, 0, 0, 0, weight, FALSE, FALSE, FALSE, 0,
OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY,
DEFAULT_PITCH | FF_DONTCARE, TEXT("Segeo UI")); DEFAULT_PITCH | FF_DONTCARE, TEXT("Segoe UI"));
if(!badgeData.hFont) if(!badgeData.hFont)
{ {
CleanupBadgeData(hWnd, &badgeData); CleanupBadgeData(hWnd, &badgeData);