Fixed incorrect inclusion of slash symbol to the path.
Standard_Integer i, j;
TCollection_AsciiString fullPath;
- static Standard_Character trek [ _MAX_PATH ];
+ Standard_Character trek [ _MAX_PATH ];
Standard_Character chr;
memset(trek,0,_MAX_PATH);
} //end for
fullPath = myDisk + TCollection_AsciiString(trek);
-
- if ( trek[0] ) fullPath += "/";
+
+ if ( j >= 2 && trek[j-2] != '/' ) fullPath += "/";
fullPath += ( myName + myExtension );
-puts "TODO ?OCC24296 ALL: OCC309: Error 2"
-
puts "================"
puts "OCC309"
puts "================"