diff options
Diffstat (limited to 'driver')
-rw-r--r-- | driver/utils/dynwrapper.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/driver/utils/dynwrapper.c b/driver/utils/dynwrapper.c index a84b5aef03..a9250f58ba 100644 --- a/driver/utils/dynwrapper.c +++ b/driver/utils/dynwrapper.c @@ -82,7 +82,7 @@ void setPath(void) { n = s - exePath; for (dir = path_dirs; *dir != NULL; dir++) { - len += n + 7/* /../../ */ + lstrlen(*dir) + 1/* semicolon */; + len += n + lstrlen(*dir) + 1/* semicolon */; } len++; // NUL @@ -94,8 +94,6 @@ void setPath(void) { for (dir = path_dirs; *dir != NULL; dir++) { StrCpy(s, exePath); s += n; - StrCpy(s, "/../../"); - s += 7; StrCpy(s, *dir); s += lstrlen(*dir); s[0] = ';'; |