summaryrefslogtreecommitdiff
path: root/src/rep.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-04-07 18:47:00 +0000
committerStef Walter <stef@thewalter.net>2004-04-07 18:47:00 +0000
commitbf2dfe574ae38c5acea28648c379effad44aa970 (patch)
tree555ccc6056e457bd44693f284d02d06541cde822 /src/rep.c
parent08c1eaa8aa0e6928bb5067df417ac785c1bce326 (diff)
Folder emuration fixes.
Diffstat (limited to 'src/rep.c')
-rw-r--r--src/rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rep.c b/src/rep.c
index b333ef5..6ff03c3 100644
--- a/src/rep.c
+++ b/src/rep.c
@@ -353,7 +353,7 @@ int replaceFolder(r_context* ctx, char* folder)
/* And for every file */
do
{
- if(ent.d_type & DT_DIR)
+ if(!(ent.d_type & DT_DIR))
{
int r = 0;