Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-13 03:13:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-13 03:13:33 +0400
commit6ee9d1b69db0064abb03d74dbc365cf860a3c3d9 (patch)
treea5c22a721a176cfd3185b130d8e1bd4c0fb4e455
parent5e255f6b8fb3f58dd2be5f0b7c9c1570f8192760 (diff)
error in recent commit
-rw-r--r--source/blender/editors/interface/interface_regions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c
index fadfe097277..0dc10088d81 100644
--- a/source/blender/editors/interface/interface_regions.c
+++ b/source/blender/editors/interface/interface_regions.c
@@ -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;