Decided not to optimize Windows menu item lookup.
This commit is contained in:
parent
23cfcc8c6d
commit
997db39bb7
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue