diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-08 22:51:28 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-08 23:46:24 +0100 |
commit | 93c4dd298f41798cf90437eec740ffd31e729f65 (patch) | |
tree | 81a0299eb5a0a270fcfcd6fb332a11bd6e17ec04 /src/modules.c | |
parent | 838abd31d2041bff1a42767ec92ad7452cb9ce74 (diff) |
Import fix from CVS: Fixes module directory paths.
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.c b/src/modules.c index af382169..6311dbad 100644 --- a/src/modules.c +++ b/src/modules.c @@ -19,7 +19,7 @@ static void module_reset_dir_aux(cptr *dir, cptr new_path) char buf[1024]; /* Build the new path */ - strnfmt(buf, sizeof (buf), "%s%s%s", dir, PATH_SEP, new_path); + strnfmt(buf, sizeof (buf), "%s%s%s", *dir, PATH_SEP, new_path); string_free(*dir); *dir = string_make(buf); |