From 4ae2e63ca4d22557f60c593250a1c5158ab87e09 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 14 Sep 2011 05:30:53 +0000 Subject: [PATCH] Refine code to follow coding style. Signed-of-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12346 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePrintLib/PrintLibInternal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c index 3374d97e3a..30451b922e 100644 --- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c +++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c @@ -928,7 +928,7 @@ BasePrintLibSPrintMarker ( FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; } - if (Flags & COUNT_ONLY_NO_PRINT) { + if ((Flags & COUNT_ONLY_NO_PRINT) != 0) { return (LengthToReturn / BytesPerOutputCharacter); } -- 2.39.2