mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[uri] Let enter c:\ in goto url dialog
This commit is contained in:
parent
0e7507b285
commit
852e024c40
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user