diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lt_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lt_path.c b/src/core/lt_path.c index 5d58b03..6d72d85 100644 --- a/src/core/lt_path.c +++ b/src/core/lt_path.c @@ -209,7 +209,7 @@ int lt_dlinsertsearchdir(const char * mark, const char * path) if (pathv < lt_vmark) lt_upath[offset + slen] = ':'; - pathv[0] = pathv[-1]; + pathv[0] = pathv[-1] + alen + 1; if (pathv[-1] == mark) { offset = mark - lt_vpath; |