Commit 5ea79272 authored by hybrid's avatar hybrid

Fix proper place of drop.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3972 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 79147a2d
......@@ -261,6 +261,7 @@ bool testEncryptedZip(IFileSystem* fs)
char tmp[13] = {'\0'};
readFile->read(tmp, 12);
readFile->drop();
if (strncmp(tmp, "Linux Users:", 12))
{
logTestString("Read bad data from archive: %s\n", tmp);
......@@ -278,8 +279,6 @@ bool testEncryptedZip(IFileSystem* fs)
if ( fs->getFileArchiveCount() )
return false;
readFile->drop();
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment