| Index: src/engine/NotificationWindow.cpp |
| =================================================================== |
| --- a/src/engine/NotificationWindow.cpp |
| +++ b/src/engine/NotificationWindow.cpp |
| @@ -231,7 +231,7 @@ |
| if (_wcsnicmp(tag, expectedTag, min(sizeof(expectedTag), tag.Length())) != 0) { |
| return; |
| } |
| - auto classAttr = GetHtmlElementAttribute(*htmlElement, ATL::CComBSTR(L"class")); |
| + auto classAttr = GetHtmlElementAttribute(*htmlElement, L"class"); |
| if (classAttr.attributeValue == L"closeButton") |
| { |
| if (m_onCloseCallback) |
| @@ -242,7 +242,7 @@ |
| { |
| return; |
| } |
| - auto linkIDAttr = GetHtmlElementAttribute(*htmlElement, ATL::CComBSTR(L"data-linkID")); |
| + auto linkIDAttr = GetHtmlElementAttribute(*htmlElement, L"data-linkID"); |
| uint32_t linkID = 0; |
| if (!linkIDAttr.attributeValue.empty() && (linkID = std::stoi(linkIDAttr.attributeValue)) < m_links.size()) |
| { |