mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-15 03:22:53 +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 */
|
#endif /* HAVE_CHARSET */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_CHARSET
|
||||||
last:
|
last:
|
||||||
|
#endif /* HAVE_CHARSET */
|
||||||
if (s >= lpath + url_delim_len
|
if (s >= lpath + url_delim_len
|
||||||
&& strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)
|
&& strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)
|
||||||
*s = '\0';
|
*s = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user