diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-26 05:42:43 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-07-26 05:42:43 +0000 |
commit | 12ea46947dbe411cc278a8893dd9df4587d9c075 (patch) | |
tree | a465bc5896e586ccdf8a5a65720df5687348bbaf /ShellPkg | |
parent | f5af77a80ff54f3c37cfb16ff5ede38a75008ea1 (diff) | |
download | edk2-platforms-12ea46947dbe411cc278a8893dd9df4587d9c075.tar.xz |
Roll back the change which caused build fail
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13557 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellLib/UefiShellLib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c index 75ecfa503e..1929349b20 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -3650,10 +3650,10 @@ InternalShellStrHexToUint64 ( Result = 0;
//
- // stop at spaces if requested
+ // Skip spaces if requested
//
- if (StopAtSpace && *String == L' ') {
- break;
+ while (StopAtSpace && *String == L' ') {
+ String++;
}
while (ShellIsHexaDecimalDigitCharacter (*String)) {
|