ShellPkg: Fix concatenation on full device paths.

submitted-by: jcarsey
reviewed-by:  geekboy15a

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12357 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey 2011-09-15 20:18:58 +00:00
parent b6b22b132a
commit f9125972ae
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ EfiShellGetDevicePathFromFilePath(
if (*(Path+StrLen(MapName)+1) == CHAR_NULL) {
DevicePathForReturn = FileDevicePath(Handle, L"\\");
} else {
DevicePathForReturn = FileDevicePath(Handle, Path+StrLen(MapName)+1);
DevicePathForReturn = FileDevicePath(Handle, Path+StrLen(MapName));
}
FreePool(MapName);