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
This commit is contained in:
ydong10 2011-09-14 05:30:53 +00:00
parent ae4cb94fa6
commit 4ae2e63ca4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}