summaryrefslogtreecommitdiff
path: root/src/shared/directoryentry.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-24 19:34:12 +0100
committerTannin <devnull@localhost>2015-01-24 19:34:12 +0100
commitc3a95bdef1d989a54684b966e042b12bf682046d (patch)
tree83a09ca9252b9d5a060acb415b8c3c0923cfe2c3 /src/shared/directoryentry.cpp
parent9edc39633b82b5e02d33c4b0a395fe110af28eb4 (diff)
parentf756aede08edb315ebe5882098191ebfe971fd81 (diff)
Merge with branch1.2
Diffstat (limited to 'src/shared/directoryentry.cpp')
-rw-r--r--src/shared/directoryentry.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp
index 7f7a01f5..5cf75752 100644
--- a/src/shared/directoryentry.cpp
+++ b/src/shared/directoryentry.cpp
@@ -24,23 +24,18 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <ctime>
#include <algorithm>
#include <bsatk.h>
-#include "error_report.h"
-#include "util.h"
#include "windows_error.h"
#include <boost/bind.hpp>
#include <boost/scoped_array.hpp>
#include <boost/foreach.hpp>
-#include "util.h"
#include "leaktrace.h"
-
#include <map>
+#include "error_report.h"
namespace MOShared {
-
-static int s_Count = 0;
-
+static const int MAXPATH_UNICODE = 32767;
class OriginConnection {
@@ -155,7 +150,7 @@ void FilesOrigin::removeFile(FileEntry::Index index)
-std::wstring tail(const std::wstring &source, const size_t count)
+static std::wstring tail(const std::wstring &source, const size_t count)
{
if (count >= source.length()) {
return source;