git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4974
6f19259b-4bc3-4df7-8a09-
765794883524
Ptr = Str;\r
LastSlash = Str;\r
while (*Ptr != 0) {\r
Ptr = Str;\r
LastSlash = Str;\r
while (*Ptr != 0) {\r
- if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '.' && *(Ptr + 3) != 0) {\r
+ if (*Ptr == '\\' && *(Ptr + 1) == '.' && *(Ptr + 2) == '.' && *(Ptr + 3) == L'\\') {\r
//\r
// Convert "\Name\..\" to "\"\r
// DO NOT convert the .. if it is at the end of the string. This will\r
//\r
// Convert "\Name\..\" to "\"\r
// DO NOT convert the .. if it is at the end of the string. This will\r