mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[WIN32SS][NTGDI] Use UNICODE_NULL for consistency
This commit is contained in:
parent
19fc9415bf
commit
39312ba688
1 changed files with 2 additions and 2 deletions
|
@ -2822,7 +2822,7 @@ GetFontFamilyInfoForSubstitutes(const LOGFONTW *LogFont,
|
||||||
&Win32Process->PrivateFontListHead);
|
&Win32Process->PrivateFontListHead);
|
||||||
IntUnLockProcessPrivateFonts(Win32Process);
|
IntUnLockProcessPrivateFonts(Win32Process);
|
||||||
|
|
||||||
if (LogFont->lfFaceName[0])
|
if (LogFont->lfFaceName[0] != UNICODE_NULL)
|
||||||
{
|
{
|
||||||
/* it's already matched to the exact name and charset if the name
|
/* it's already matched to the exact name and charset if the name
|
||||||
was specified at here, then so don't scan more for another name */
|
was specified at here, then so don't scan more for another name */
|
||||||
|
@ -4487,7 +4487,7 @@ GetFontPenalty(const LOGFONTW * LogFont,
|
||||||
|
|
||||||
ActualNameW = (WCHAR*)((ULONG_PTR)Otm + (ULONG_PTR)Otm->otmpFamilyName);
|
ActualNameW = (WCHAR*)((ULONG_PTR)Otm + (ULONG_PTR)Otm->otmpFamilyName);
|
||||||
|
|
||||||
if (LogFont->lfFaceName[0])
|
if (LogFont->lfFaceName[0] != UNICODE_NULL)
|
||||||
{
|
{
|
||||||
BOOL Found = FALSE;
|
BOOL Found = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue