From 12ea46947dbe411cc278a8893dd9df4587d9c075 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Thu, 26 Jul 2012 05:42:43 +0000 Subject: Roll back the change which caused build fail Signed-off-by: Eric Dong git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13557 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ShellPkg/Library/UefiShellLib') 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)) { -- cgit v1.2.3