summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BasePrintLib
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-21 00:57:17 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-21 00:57:17 +0000
commitd6bee311ce3edfd6db8c3b36f0c69c52fa768b7f (patch)
treecedf8a04930c24e4206acb61dc48cdee5efdec1e /MdePkg/Library/BasePrintLib
parent48ee8e3e8c1c65bd1cd853e48a8820ae3a4c60e8 (diff)
downloadedk2-platforms-d6bee311ce3edfd6db8c3b36f0c69c52fa768b7f.tar.xz
Enhance the code to make the code logic more clear.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13650 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePrintLib')
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLibInternal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
index 8a0cfa6e20..34e9d12767 100644
--- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c
+++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
@@ -517,6 +517,9 @@ BasePrintLibSPrintMarker (
if (sizeof (VOID *) > 4) {
Flags |= LONG_TYPE;
}
+ //
+ // break skipped on purpose
+ //
case 'X':
Flags |= PREFIX_ZERO;
//