]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLevel2CommandsLib/Parse.c
ShellPkg: Fix the Non-ASCII char and do code refine.
[mirror_edk2.git] / 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