Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
bc8ab357
Commit
bc8ab357
authored
May 18, 2009
by
Peter Eastman
Browse files
Fixed a bug in Platform::getDefaultPluginsDirectory() on Windows.
parent
7f98d2cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
olla/src/Platform.cpp
olla/src/Platform.cpp
+3
-2
No files found.
olla/src/Platform.cpp
View file @
bc8ab357
...
...
@@ -200,7 +200,8 @@ vector<string> Platform::loadPluginsFromDirectory(string directory) {
string
Platform
::
getDefaultPluginsDirectory
()
{
char
*
dir
=
getenv
(
"OPENMM_PLUGIN_DIR"
);
#ifdef _MSC_VER
if
(
dir
==
NULL
)
if
(
dir
!=
NULL
)
return
string
(
dir
);
dir
=
getenv
(
"PROGRAMFILES"
);
if
(
dir
==
NULL
)
return
"C:
\\\\
Program Files
\\
OpenMM
\\
lib
\\
plugins"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment