comparison engine/core/vfs/vfsdirectory.cpp @ 389:a3a044c586ab

Removed the filename lower case transformations. OSX 10.6 is not case sensitive so I was unable to test fully.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 23 Jan 2010 21:53:51 +0000
parents 1d9154c535cf
children cc6289c519ed
comparison
equal deleted inserted replaced
388:605d13efc6f9 389:a3a044c586ab
39 namespace bfs = boost::filesystem; 39 namespace bfs = boost::filesystem;
40 namespace FIFE { 40 namespace FIFE {
41 static Logger _log(LM_VFS); 41 static Logger _log(LM_VFS);
42 42
43 VFSDirectory::VFSDirectory(VFS* vfs, const std::string& root) : VFSSource(vfs), m_root(root) { 43 VFSDirectory::VFSDirectory(VFS* vfs, const std::string& root) : VFSSource(vfs), m_root(root) {
44 std::transform(m_root.begin(), m_root.end(), m_root.begin(), tolower); 44 //std::transform(m_root.begin(), m_root.end(), m_root.begin(), tolower);
45 FL_DBG(_log, LMsg("VFSDirectory created with root path ") << m_root); 45 FL_DBG(_log, LMsg("VFSDirectory created with root path ") << m_root);
46 if(!m_root.empty() && *(m_root.end() - 1) != '/') 46 if(!m_root.empty() && *(m_root.end() - 1) != '/')
47 m_root.append(1,'/'); 47 m_root.append(1,'/');
48 } 48 }
49 49