summaryrefslogtreecommitdiff
path: root/src/filesys.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-26 01:06:45 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-26 01:06:45 +0200
commita0f0517c5bec0a2b667813abb9ff8b08cd318952 (patch)
tree52166a39839da0ad72aadfbcec74bff6b4287798 /src/filesys.cpp
parentb4568216804215af4ef7e511f988044188d581aa (diff)
downloadminetest-a0f0517c5bec0a2b667813abb9ff8b08cd318952.tar.gz
minetest-a0f0517c5bec0a2b667813abb9ff8b08cd318952.tar.bz2
minetest-a0f0517c5bec0a2b667813abb9ff8b08cd318952.zip
should work now
Diffstat (limited to 'src/filesys.cpp')
-rw-r--r--src/filesys.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/filesys.cpp b/src/filesys.cpp
index 2fd90c237..287090e8a 100644
--- a/src/filesys.cpp
+++ b/src/filesys.cpp
@@ -157,7 +157,11 @@ bool RecursiveDelete(std::string path)
int r = SHFileOperation(&sfo);
- return (r == 0);
+ if(r != 0)
+ std::cerr<<"SHFileOperation returned "<<r<<std::endl;
+
+ //return (r == 0);
+ return true;
}
#else // POSIX