https://git.reactos.org/?p=reactos.git;a=commitdiff;h=39312ba688ab7a78c4470…
commit 39312ba688ab7a78c4470fa1c72e0efedae0f15f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Apr 27 16:17:37 2019 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Apr 27 16:17:37 2019 +0900
[WIN32SS][NTGDI] Use UNICODE_NULL for consistency
---
win32ss/gdi/ntgdi/freetype.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c
index 18f9ef9f74..7d19d159f8 100644
--- a/win32ss/gdi/ntgdi/freetype.c
+++ b/win32ss/gdi/ntgdi/freetype.c
@@ -2822,7 +2822,7 @@ GetFontFamilyInfoForSubstitutes(const LOGFONTW *LogFont,
&Win32Process->PrivateFontListHead);
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
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);
- if (LogFont->lfFaceName[0])
+ if (LogFont->lfFaceName[0] != UNICODE_NULL)
{
BOOL Found = FALSE;