From: ydong10 Date: Wed, 14 Sep 2011 05:30:53 +0000 (+0000) Subject: Refine code to follow coding style. X-Git-Tag: edk2-stable201903~14227 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4ae2e63ca4d22557f60c593250a1c5158ab87e09 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 --- 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); }