mirror of https://github.com/acidanthera/audk.git
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:
parent
57046e97fa
commit
b5ace64c27
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue