1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

[uri] Let enter c:\ in goto url dialog

This commit is contained in:
Witold Filipczyk 2022-05-10 21:11:48 +02:00
parent 0e7507b285
commit 852e024c40

View File

@ -1146,8 +1146,11 @@ parse_uri:
case PROTOCOL_FILE:
default:
add_to_string(&str, "file://");
if (!dir_sep(*newurl))
if (!dir_sep(*newurl)) {
#ifndef DOS_FS
add_to_string(&str, "./");
#endif
}
add_to_string(&str, newurl);
}