From ad9aa87b5604cb17da688d5672b1e72e6ccde3b6 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 24 Aug 2011 06:41:27 +0000 Subject: Refine code to follow coding style. Signed-off-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12189 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c index f0f206192f..4646f18432 100644 --- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c +++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c @@ -1174,7 +1174,7 @@ InternalPrintLibSPrintMarker ( ASSERT(Flags & COUNT_ONLY_NO_PRINT); - if (Flags & OUTPUT_UNICODE) { + if ((Flags & OUTPUT_UNICODE) != 0) { BytesPerOutputCharacter = 2; } else { BytesPerOutputCharacter = 1; -- cgit v1.2.3