diff options
Diffstat (limited to 'src/launcherutil.c')
| -rw-r--r-- | src/launcherutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/launcherutil.c b/src/launcherutil.c index 070290d..4a866f5 100644 --- a/src/launcherutil.c +++ b/src/launcherutil.c @@ -603,6 +603,7 @@ int l2_launcher__ftw_internal(char **path, int depth, l2_ftw_proc_t *proc, struc flags |= L2_FTW_SYMLINK; } + ftw->user.baseoffset = (int)pathlen + 1; if ((res = (*proc)(*path, &st, flags, (struct l2_ftw_data *)ftw))) { CMD_DEBUG("myftw: user aborted %s: %d", *path, res); ftw->abort = 1; |
