Skip to content

Commit

Permalink
Fixed|FS1: clearOpenFiles() was not correctly clearing the FileList
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Dec 7, 2012
1 parent 25f9110 commit 2cf30c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/src/filesys/fs_main.cpp
Expand Up @@ -175,8 +175,8 @@ struct FS1::Instance

void clearOpenFiles()
{
while(!openFiles.empty())
{ delete openFiles.back(); }
while(!openFiles.isEmpty())
{ delete openFiles.takeLast(); }
}

void clearIndexes()
Expand Down

0 comments on commit 2cf30c6

Please sign in to comment.