comparison engine/core/vfs/vfsdirectory.cpp @ 390:cc6289c519ed

One last change to remove the lower case transofmrations of filenames. close[t:418]
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 23 Jan 2010 22:57:54 +0000
parents a3a044c586ab
children 293e812316c0
comparison
equal deleted inserted replaced
389:a3a044c586ab 390:cc6289c519ed
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);
45 FL_DBG(_log, LMsg("VFSDirectory created with root path ") << m_root); 44 FL_DBG(_log, LMsg("VFSDirectory created with root path ") << m_root);
46 if(!m_root.empty() && *(m_root.end() - 1) != '/') 45 if(!m_root.empty() && *(m_root.end() - 1) != '/')
47 m_root.append(1,'/'); 46 m_root.append(1,'/');
48 } 47 }
49 48