Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a34635e
)
Fix for #1831: root directory build but not requested
author
mpv
<mpv@opencascade.com>
Mon, 10 Oct 2016 11:45:26 +0000
(14:45 +0300)
committer
mpv
<mpv@opencascade.com>
Mon, 10 Oct 2016 11:45:26 +0000
(14:45 +0300)
src/Model/Model_Document.cpp
patch
|
blob
|
history
diff --git
a/src/Model/Model_Document.cpp
b/src/Model/Model_Document.cpp
index fdfaa6f6970b47511770cd250fac59957c812b3d..852050fd9c6f789665590eb622128056faa50139 100755
(executable)
--- a/
src/Model/Model_Document.cpp
+++ b/
src/Model/Model_Document.cpp
@@
-222,9
+222,9
@@
bool Model_Document::save(
Handle(Model_Application) anApp = Model_Application::getApplication();
if (isRoot()) {
#ifdef WIN32
- CreateDirectory(the
File
Name, NULL);
+ CreateDirectory(the
Dir
Name, NULL);
#else
- mkdir(the
File
Name, 0x1ff);
+ mkdir(the
Dir
Name, 0x1ff);
#endif
}
// filename in the dir is id of document inside of the given directory