Skip to content

Conversation

@dkeehl
Copy link

@dkeehl dkeehl commented Aug 11, 2025

The item type which GetItemInfo() returns is a localized name, so under non-English locales just comparing it with string "Quest" will cause the border's color not correctly set. To fix this, add a localized global variable INVTYPE_QUEST and use it in the condition test.

@shagu
Copy link
Owner

shagu commented Aug 13, 2025

Thanks, but this does not work if the eqcompare is disabled. Please don't rely on the global but instead access it via it's locale (L["itemtypes"]["INVTYPE_QUEST"]) entry or create a local shortcut to it.

@dkeehl
Copy link
Author

dkeehl commented Aug 16, 2025

OK, I added a commit to use the locale entry directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants