浏览代码

Use right path separator.

Frank Zago 16 年之前
父节点
当前提交
be806d7942
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/CMT.cpp

+ 1 - 1
client/CMT.cpp

@@ -328,7 +328,7 @@ void processCommand(const std::string &message, CClient *&client)
 			pom = txth->entries[i].nameStr;
 			if(boost::algorithm::find_last(pom,pattern))
 			{
-				txth->extractFile(std::string("Extracted_txts\\")+pom,pom);
+				txth->extractFile(std::string("Extracted_txts" PATHSEPARATOR)+pom,pom);
 			}
 			if(i%8) continue;
 			int p2 = ((float)i/(float)txth->entries.size())*(float)100;