diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-12 19:04:06 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-12 19:04:06 +0000 |
commit | d54744cd6c544e544c02fd75b20cff73fd865258 (patch) | |
tree | a86a1f8ac7c2526279801d763f865c9584ff7033 /ShellPkg/Library/BaseFileHandleLib | |
parent | 70575d12a9fe1451e27f43e73b0848665c6f9d8c (diff) | |
download | edk2-platforms-d54744cd6c544e544c02fd75b20cff73fd865258.tar.xz |
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/BaseFileHandleLib')
-rw-r--r-- | ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c | 6 |
1 files changed, 5 insertions, 1 deletions
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);
|