ShellPkg: Fix the Non-ASCII char and do code refine.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17583 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Qiu Shumin 2015-06-09 01:14:10 +00:00 committed by shenshushi
parent 496157c15f
commit 4fe19afeaa
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ ParseReturnStdInLine (
/**
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. ^).
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 @@ PerformParsing(
TempLine = ShellFileHandleReturnLine (FileHandle, &Ascii);
}
if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode == TRUE)) {
if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode)) {
break;
}