diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-17 17:56:07 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-17 17:56:07 +0300 |
commit | 9185f7931aba220c0b8ac82878e869225f2549dd (patch) | |
tree | 6214164ec42b132faf315f0354256e62b8eebb71 /source | |
parent | 7a66002753e8da11e53cb8cdad28bde606847758 (diff) |
2.5
Bugfix: passing on uninitialized var to a function made msvc halt.
Strange that gcc didnt complain :)
Brecht: check if this 'a' was needed as counter or so?
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index 9c18cd381f2..8b44409ea02 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -387,7 +387,7 @@ int uiDefAutoButsRNA(uiBlock *block, PointerRNA *ptr) else name= ""; - uiDefAutoButR(block, ptr, prop, a, name, x+DEF_BUT_WIDTH, y, DEF_BUT_WIDTH, DEF_BUT_HEIGHT-1); + uiDefAutoButR(block, ptr, prop, 0, name, x+DEF_BUT_WIDTH, y, DEF_BUT_WIDTH, DEF_BUT_HEIGHT-1); y -= DEF_BUT_HEIGHT; } |