Skip to content

Conversation

@TheUbMunster
Copy link
Contributor

I'd love to test, but for some reason it won't build because of some problem in the UI namespace

for (int i = 0; i < levTexLookup->numIconGroup; i++)
{
struct IconGroup* iconGroupPtr = levTexLookup->firstIconGroupPtr[i];
if (((*(int*)(iconGroupPtr->name + 0)) == (*(int*)(str + 0))) &&
Copy link
Contributor Author

@TheUbMunster TheUbMunster Jan 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"efficient string comparison", the same way ND did it. do we have memcmp? (strcmp wouldn't behave the same because memcmp will check beyond the nullterm (like original impl), but strcmp won't).

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.

1 participant