Salome HOME
23594: EDF 17213 : crash of salome when loading SMESH or dumping the study
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index 574d4b3dedba14709fe847a3806a3c72378678d1..67c3edda9933cd8057ab5b4abcbced706b853803 100644 (file)
@@ -1032,13 +1032,13 @@ std::vector< std::string > SMESH_Gen::GetPluginXMLPaths()
       bool fileOK;
 #ifdef WIN32
 #ifdef UNICODE
-         const wchar_t* path = Kernel_Utils::decode_s(xmlPath);
+      const wchar_t* path = Kernel_Utils::decode_s(xmlPath);
 #else
-         const char* path = xmlPath.c_str();
+      const char* path = xmlPath.c_str();
 #endif
       fileOK = (GetFileAttributes(path) != INVALID_FILE_ATTRIBUTES);
 #ifdef UNICODE
-         delete path;
+      delete path;
 #endif
 #else
       fileOK = (access(xmlPath.c_str(), F_OK) == 0);