Просмотр исходного кода

Fixed code that came in with the Windows port, pretty sure this isn't useful on Unix or Mac.

Peter Hall 14 лет назад
Родитель
Сommit
fa1a7ae15a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Tools/Contents/polybuild/Source/polybuild.cpp

+ 2 - 0
Tools/Contents/polybuild/Source/polybuild.cpp

@@ -220,9 +220,11 @@ int main(int argc, char **argv) {
 #endif
 	}
 
+#ifdef _WINDOWS
 	finalPath = finalPath.replace(":", "");
 	finalPath = finalPath.replace("\\", "/");
 	finalPath = finalPath.substr(1, finalPath.length() - 1);
+#endif
 
 	printf("Reading config file from %s\n", finalPath.c_str());