diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c index 5d6a200c19..c4c8c87ff4 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c @@ -790,9 +790,9 @@ IsNumberLetterOnly( )
{
while(String != NULL && *String != CHAR_NULL) {
- if (! ( *String >= L'a' && *String <= L'z'
- || *String >= L'A' && *String <= L'Z'
- || *String >= L'0' && *String <= L'9')
+ if (! ((*String >= L'a' && *String <= L'z') ||
+ (*String >= L'A' && *String <= L'Z') ||
+ (*String >= L'0' && *String <= L'9'))
){
return (FALSE);
}
|