error in recent commit

This commit is contained in:
2014-02-13 10:13:33 +11:00
parent 5e255f6b8f
commit 6ee9d1b69d

View File

@@ -2059,7 +2059,7 @@ static unsigned int ui_popup_menu_hash(const char *str)
static uiBut *ui_popup_menu_memory__internal(uiBlock *block, uiBut *but)
{
static unsigned int mem[256];
static bool first = false;
static bool first = true;
const unsigned int hash = block->puphash;
const unsigned int hash_mod = hash & 255;