Decided not to optimize Windows menu item lookup.

This commit is contained in:
Pietro Gagliardi 2015-05-03 17:37:36 -04:00
parent 23cfcc8c6d
commit 997db39bb7
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ void runMenuEvent(WORD id, uiWindow *w)
uintmax_t i, j;
uiMenuItem *umi;
// TODO optimize this somehow?
// this isn't optimal, but it works, and it should be just fine for most cases
for (i = 0; i < len; i++) {
m = menus[i];
for (j = 0; j < m->len; j++) {