summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-05 14:17:47 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-05 14:17:47 +0000
commit5c4513344acd84ac066545ed4c6579f4de091218 (patch)
treeb09876436c212eb5c8d5ad17bc0ded13905c490c /MdePkg
parent4e4f13d245b1fbca55c03aca0b36848d8d50b57f (diff)
downloadedk2-5c4513344acd84ac066545ed4c6579f4de091218.zip
edk2-5c4513344acd84ac066545ed4c6579f4de091218.tar.gz
edk2-5c4513344acd84ac066545ed4c6579f4de091218.tar.bz2
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLibInternal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
index aed884b..3374d97 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;