summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-19 15:21:59 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-19 15:21:59 +0300
commit8afdc259ac0346eca088037d52e589fff697d9c9 (patch)
tree68d0d8461d57f32d474c7baaff0ace5c2b04e14e
parent164408bbc6a1dc2a6851429eb33682636a0ddc2e (diff)
fixes #4367 (NewStory: Клик по ссылке не срабатывает, если она примыкает к картинке)
-rw-r--r--plugins/NewStory/src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/webpage.cpp b/plugins/NewStory/src/webpage.cpp
index 376a59b1f0..716bfd6459 100644
--- a/plugins/NewStory/src/webpage.cpp
+++ b/plugins/NewStory/src/webpage.cpp
@@ -693,7 +693,7 @@ void NSWebPage::make_url(LPCWSTR url, LPCWSTR, std::wstring &out)
void NSWebPage::on_anchor_click(const char *pszUtl, const element::ptr &)
{
- Utils_OpenUrl(pszUtl);
+ Utils_OpenUrlW(Utf2T(pszUtl));
}
void NSWebPage::set_base_url(const char *)