Selaa lähdekoodia

Use right path separator.

Frank Zago 16 vuotta sitten
vanhempi
sitoutus
be806d7942
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;