Skip to content

Commit

Permalink
loopdir bit was forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirato committed Apr 23, 2019
1 parent b79e4ff commit d443153
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/engine/command.cpp
Expand Up @@ -3885,6 +3885,9 @@ ICOMMAND(loopdir, "rse", (ident *id, char *dir, uint *body),
identstack stack;
vector<char *> files;
listfiles(dir, NULL, files);
files.sort();
files.uniquedeletearrays();

loopvrev(files)
{
bool redundant = false;
Expand Down

0 comments on commit d443153

Please sign in to comment.