summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 06:41:27 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-24 06:41:27 +0000
commitad9aa87b5604cb17da688d5672b1e72e6ccde3b6 (patch)
tree0b216b2b6a1493405437a7b190be0eda9439894d /MdeModulePkg
parentf43b7a54120e4fdff62d149f78c244148c20d7a8 (diff)
downloadedk2-platforms-ad9aa87b5604cb17da688d5672b1e72e6ccde3b6.tar.xz
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c2
1 files changed, 1 insertions, 1 deletions
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;