From 5c4513344acd84ac066545ed4c6579f4de091218 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Mon, 5 Sep 2011 14:17:47 +0000 Subject: Refine code to follow coding style. Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12281 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePrintLib/PrintLibInternal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c index aed884b176..3374d97e3a 100644 --- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c +++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c @@ -356,7 +356,7 @@ BasePrintLibSPrintMarker ( ASSERT (Buffer != NULL); } - if (Flags & OUTPUT_UNICODE) { + if ((Flags & OUTPUT_UNICODE) != 0) { BytesPerOutputCharacter = 2; } else { BytesPerOutputCharacter = 1; -- cgit v1.2.3