From: jcarsey Date: Tue, 12 Jan 2010 19:04:06 +0000 (+0000) Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b... X-Git-Tag: edk2-stable201903~16604 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d54744cd6c544e544c02fd75b20cff73fd865258;hp=70575d12a9fe1451e27f43e73b0848665c6f9d8c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c b/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c index 4b2ffb9d95..8c4cc03fc1 100644 --- a/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c +++ b/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c @@ -1073,7 +1073,11 @@ FileHandleEof( return (FALSE); } - RetVal = (Pos == Info->FileSize)?TRUE:FALSE; + if (Pos == Info->FileSize) { + RetVal = TRUE; + } else { + RetVal = FALSE; + } FreePool (Info);