mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
(canonicalize_pathname_custom): fix --disable-charset
build broken in 8f723b8
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
a018086f48
commit
289b9c85be
@ -1040,7 +1040,9 @@ canonicalize_pathname_custom (char *path, canon_path_flags_t flags)
|
||||
#endif /* HAVE_CHARSET */
|
||||
else
|
||||
{
|
||||
#ifdef HAVE_CHARSET
|
||||
last:
|
||||
#endif /* HAVE_CHARSET */
|
||||
if (s >= lpath + url_delim_len
|
||||
&& strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)
|
||||
*s = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user