Fix one bugger in Image.c in PeiCore module to get the correct module name for debug output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1852 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2006-10-30 03:26:07 +00:00
parent 57046e97fa
commit b5ace64c27
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ Returns:
}
if (AsciiString != NULL) {
FileNameFound = FALSE;
for (Index = 0, Index1 = 0; (AsciiString[Index] != 0) && (Index < sizeof (AsciiString)); Index++) {
for (Index = 0, Index1 = 0; AsciiString[Index] != '\0'; Index++) {
if (AsciiString[Index] == '\\') {
Index1 = Index;
FileNameFound = TRUE;