projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d632049
)
0020750: DrawAppliInit file from the current directory is used during Draw starting.
author
aan
<aan@opencascade.com>
Tue, 6 Mar 2012 10:36:35 +0000
(14:36 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Tue, 6 Mar 2012 11:14:59 +0000
(15:14 +0400)
src/DrawResources/DrawDefault
patch
|
blob
|
blame
|
history
diff --git
a/src/DrawResources/DrawDefault
b/src/DrawResources/DrawDefault
index
9e44917
..
b1ee1dd
100755
(executable)
--- a/
src/DrawResources/DrawDefault
+++ b/
src/DrawResources/DrawDefault
@@
-35,7
+35,8
@@
if { [file exist $dir] } {
wm iconbitmap . -default [file join $dir lamp.ico]
}
}
- if [file readable DrawAppliInit] {
- source DrawAppliInit
+
+ if { [ file readable [ file join $dir DrawAppliInit ] ] } {
+ source [file join $dir DrawAppliInit ]
}
}