git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9720 6f19259b...
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Jan 2010 19:04:06 +0000 (19:04 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 12 Jan 2010 19:04:06 +0000 (19:04 +0000)
ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c

index 4b2ffb9d95787a2d74f30d04d4090079de7f7741..8c4cc03fc1845c7091607d10986f51a304a28d6b 100644 (file)
@@ -1073,7 +1073,11 @@ FileHandleEof(
     return (FALSE);\r
   } \r
 \r
-  RetVal = (Pos == Info->FileSize)?TRUE:FALSE;\r
+  if (Pos == Info->FileSize) {\r
+    RetVal = TRUE;\r
+  } else {\r
+    RetVal = FALSE;\r
+  }\r
 \r
   FreePool (Info);\r
 \r