Skip to content

Commit

Permalink
Fixed crash when hovering salvagable materials in the salvage popup
Browse files Browse the repository at this point in the history
  • Loading branch information
3vcloud committed Jul 12, 2024
1 parent a0d6301 commit 4275562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Modules/ItemDescriptionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ std::wstring ItemDescriptionHandler::GetItemDescription(const GW::Item* _item) {
if (!_item) return L"";
wchar_t* out = nullptr;
OnGetItemDescription(_item->item_id, 0, 0, 0, nullptr, &out);
return out;
return out ? out : L"";
}
std::wstring ItemDescriptionHandler::GetItemEncNameWithoutMods(const GW::Item* _item) {

Expand Down

0 comments on commit 4275562

Please sign in to comment.