mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Browser: Escape percent sign in download progress format string
Otherwise the following is printed: printf_internal: Unimplemented format specifier (fmt: 0% of %s)
This commit is contained in:
parent
444b6c8407
commit
85b69e54e4
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ Tab::Tab()
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_rect(300, 300, 300, 150);
|
||||
auto url = m_html_widget->document()->complete_url(m_link_context_menu_href);
|
||||
window->set_title(String::format("0% of %s", url.basename().characters()));
|
||||
window->set_title(String::format("0%% of %s", url.basename().characters()));
|
||||
window->set_resizable(false);
|
||||
window->set_main_widget<DownloadWidget>(url);
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue