]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Fix the Non-ASCII char and do code refine.
authorQiu Shumin <shumin.qiu@intel.com>
Tue, 9 Jun 2015 01:14:10 +0000 (01:14 +0000)
committershenshushi <shenshushi@Edk2>
Tue, 9 Jun 2015 01:14:10 +0000 (01:14 +0000)
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

ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c

index 687ced6b634542f7dc4d7155a08d2937078f8fce..12fe87750c38833723f9a518446d0fed0a23f301 100644 (file)
@@ -190,7 +190,7 @@ ParseReturnStdInLine (
 \r
 /**\r
   Handle stings for SFO Output with escape character ^ in a string\r
-  1. Quotation marks in the string must be escaped by using a ^ character (i.e. ^\94). \r
+  1. Quotation marks in the string must be escaped by using a ^ character (i.e. ^"). \r
   2. The ^ character may be inserted using ^^.\r
 \r
   @param[in]  String  The Unicode NULL-terminated string.\r
@@ -290,7 +290,7 @@ PerformParsing(
        TempLine = ShellFileHandleReturnLine (FileHandle, &Ascii); \r
      }\r
 \r
-      if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode == TRUE)) {\r
+      if ((TempLine == NULL) || (*TempLine == CHAR_NULL && StreamingUnicode)) {\r
          break;\r
       }\r
 \r