]> git.proxmox.com Git - mirror_edk2.git/commitdiff
edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Mar 2008 19:21:25 +0000 (19:21 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 11 Mar 2008 19:21:25 +0000 (19:21 +0000)
  Resolve gcc warning.  The backslash ('\') at the end of a comment
  line is interpretted as a multi-line comment and generates a
  warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4838 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c

index 5d0f658342a0a5751318829685988323beb0b590..57fcf4d732cd4c6b54f28ea59ec83314abe21432 100644 (file)
@@ -1167,7 +1167,7 @@ Returns:
   while (*Ptr != 0) {\r
     if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '.' && *(Ptr + 3) != 0) {\r
       //\r
-      // Convert \Name\..\ to \\r
+      // Convert "\Name\..\" to "\"\r
       // DO NOT convert the .. if it is at the end of the string. This will\r
       // break the .. behavior in changing directories.\r
       //\r
@@ -1175,7 +1175,7 @@ Returns:
       Ptr = LastSlash;\r
     } else if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '\\') {\r
       //\r
-      // Convert a \.\ to a \\r
+      // Convert a "\.\" to a "\"\r
       //\r
       BdsStrCpy (Ptr, Ptr + 2);\r
       Ptr = LastSlash;\r