X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_2smeshpy.cxx;h=3f98c6d6e72e43171764ebc11f64a62be2253105;hb=43db13f33a1d75fae36db8f06fa378ed7906a332;hp=10673f51161f30c5f29fe881244d4b2360b19709;hpb=ddec989c2fb5982e993bb635080de49f1b2f1a1a;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 10673f511..3f98c6d6e 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -3934,7 +3934,11 @@ _pyHypothesisReader::_pyHypothesisReader() sep = rootDir[pos]; break; } +#ifdef WNT + if (sep.empty() ) sep = "\\"; +#else if (sep.empty() ) sep = "/"; +#endif // get a path to resource file string xmlPath = rootDir;