From 2a42ab9c1f4ff5f0cd511ef40b0e88b24b6b01ff Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 26 May 2020 09:44:26 +0000 Subject: [PATCH] WebView: fix "Download link contents" git-svn-id: svn://kolibrios.org@7987 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/browser/WebView.c | 3 ++- programs/cmm/browser/texts.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index d7ffc12f26..1d6036eed4 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -478,7 +478,8 @@ void ProcessEvent(dword id__) return; case DOWNLOAD_LINK_CONTENTS: if (!downloader_opened) { - strcpy(#downloader_edit, GetAbsoluteActiveURL()); + id__ = GetAbsoluteActiveURL(); + strcpy(#downloader_edit, id__); CreateThread(#Downloader,#downloader_stak+4092); } return; diff --git a/programs/cmm/browser/texts.h b/programs/cmm/browser/texts.h index 4b9c60be3e..a4d27c9150 100644 --- a/programs/cmm/browser/texts.h +++ b/programs/cmm/browser/texts.h @@ -1,4 +1,4 @@ -char version[]="WebView 2.61"; +char version[]="WebView 2.61b"; #ifdef LANG_RUS char buidin_page_error[] = FROM "buidin_pages\\page_not_found_ru.htm""\0";