Diff of /FileExtract.cpp [c032ef] .. [80baa6]  Maximize  Restore

Switch to side-by-side view

--- a/FileExtract.cpp
+++ b/FileExtract.cpp
@@ -418,6 +418,8 @@
     MessageBox("Cannot read file.","Extract",MB_ICONEXCLAMATION|MB_OK);
     return;
   }
+  fhandle=0;
+
   if(read(finput,header,sizeof(header) )!=sizeof(header) )
   {
     MessageBox("Cannot read file.","Extract",MB_ICONEXCLAMATION|MB_OK);
@@ -441,10 +443,6 @@
     {
       goto endofquest;
     }
-  }
-  else
-  {
-    fhandle=0;
   }
   maxlen=filelength(finput)-sizeof(header);
   if(m_filetype==".*") m_filetype.Empty();