From 6843bf7fd1c8b7e26f5dfd7d2b6dd43962b7259c Mon Sep 17 00:00:00 2001 From: vl Date: Mon, 8 Nov 2010 12:26:05 +0100 Subject: [PATCH] Fixed: file order is different linux and windows so now getpathcontent sort the file so it s the same order everywhere --- code/nel/src/misc/path.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/nel/src/misc/path.cpp b/code/nel/src/misc/path.cpp index ba69da3af..5e542bd58 100644 --- a/code/nel/src/misc/path.cpp +++ b/code/nel/src/misc/path.cpp @@ -893,6 +893,8 @@ void CFileContainer::getPathContent (const string &path, bool recurse, bool want progressCallBack->popCropedValues (); } } + + sort(result.begin(), result.end()); } void CPath::removeAllAlternativeSearchPath ()