From a0f0517c5bec0a2b667813abb9ff8b08cd318952 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 26 Jan 2011 01:06:45 +0200 Subject: [PATCH] should work now --- src/filesys.cpp | 6 +++++- src/filesys.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/filesys.cpp b/src/filesys.cpp index 2fd90c23..287090e8 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 "<