There was the wrong file handle in a call to FindClose().
authorHartmut Birr <osexpert@googlemail.com>
Thu, 16 Aug 2001 10:07:42 +0000 (10:07 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Thu, 16 Aug 2001 10:07:42 +0000 (10:07 +0000)
svn path=/trunk/; revision=2178

rosapps/cmd/type.c

index c1f18b4..2424bf1 100644 (file)
@@ -102,7 +102,7 @@ INT cmd_type (LPTSTR cmd, LPTSTR param)
                }
                while(FindNextFile(hFind,&FindData));
 
                }
                while(FindNextFile(hFind,&FindData));
 
-               FindClose(hFile);
+               FindClose(hFind);
        }       
        
 /*
        }       
        
 /*