Revision: 17583 http://sourceforge.net/p/edk2/code/17583 Author: shenshushi Date: 2015-06-09 01:14:10 +0000 (Tue, 09 Jun 2015) Log Message: ----------- ShellPkg: Fix the Non-ASCII char and do code refine.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin....@intel.com> Reviewed-by: Jaben Carsey <jaben.car...@intel.com> Modified Paths: -------------- trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c Modified: trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c =================================================================== --- trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c 2015-06-08 22:00:36 UTC (rev 17582) +++ trunk/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c 2015-06-09 01:14:10 UTC (rev 17583) @@ -190,7 +190,7 @@ /** Handle stings for SFO Output with escape character ^ in a string - 1. Quotation marks in the string must be escaped by using a ^ character (i.e. ^\x94). + 1. Quotation marks in the string must be escaped by using a ^ character (i.e. ^"). 2. The ^ character may be inserted using ^^. @param[in] String The Unicode NULL-terminated string. @@ -290,7 +290,7 @@ TempLine = ShellFileHandleReturnLine (FileHandle, &Ascii); } - if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode == TRUE)) { + if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode)) { break; } ------------------------------------------------------------------------------ _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits