1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

s|/|\|g in directory listings under Windows

This commit is contained in:
Witold Filipczyk 2006-07-02 16:48:39 +02:00 committed by Witold Filipczyk
parent c6426b4634
commit 8fa2b8180e

View File

@ -127,7 +127,8 @@ init_directory_listing(struct string *page, struct uri *uri)
|| !add_char_to_string(page, sep) || !add_char_to_string(page, sep)
|| !add_to_string(page, "\">") || !add_to_string(page, "\">")
|| !add_html_to_string(page, pslash, slash - pslash) || !add_html_to_string(page, pslash, slash - pslash)
|| !add_to_string(page, "</a>/")) || !add_to_string(page, "</a>")
|| !add_char_to_string(page, sep))
goto out_of_memory; goto out_of_memory;
pslash = ++slash; pslash = ++slash;