Refine code to follow coding style.

Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12196 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-08-24 10:10:33 +00:00
parent 581900d983
commit 83f1f16a83
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ BasePrintLibSPrintMarker (
// DxePrintLibPrint2Protocol (both PrintLib instances).
//
if (Flags & COUNT_ONLY_NO_PRINT) {
if ((Flags & COUNT_ONLY_NO_PRINT) != 0) {
if (BufferSize == 0) {
Buffer = NULL;
}