소스 검색

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;