/** @file\r
Main file for If and else shell level 1 function.\r
\r
+ Copyright (c) 2013, Hewlett-Packard Development Company, L.P.\r
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
continue;\r
}\r
CommandWalker = CommandName;\r
- while (CommandWalker[0] == L' ') {\r
+\r
+ //\r
+ // Skip leading spaces and tabs.\r
+ //\r
+ while ((CommandWalker[0] == L' ') || (CommandWalker[0] == L'\t')) {\r
CommandWalker++;\r
}\r
TempLocation = StrStr(CommandWalker, L" ");\r
NULL, \r
STRING_TOKEN (STR_SYNTAX_NO_MATCHING), \r
gShellLevel1HiiHandle, \r
- L"EnfIf", \r
+ L"EndIf", \r
L"If", \r
CurrentScriptFile!=NULL \r
&& CurrentScriptFile->CurrentCommand!=NULL\r