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:
authorBastien Montagne <montagne29@wanadoo.fr>2013-04-13 20:28:39 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-04-13 20:28:39 +0400
commit649b92e6886965153abcc4311a93d7ed876a4c7a (patch)
treec4df66bc92dc82172569a9658bab6baafe0205cf /source/blender/editors/interface/interface.c
parentceacf24e3d6a0cb5dfc10aa6cc7cc0403ddf9c38 (diff)
Fix: uiBlockSetNFunc was using uiButHandleFunc as param signature, instead of uiButHandleNFunc one (was working because both are the same currently).
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 8fbb293d586..b5b92976c82 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -3617,13 +3617,13 @@ void uiBlockSetFunc(uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2
block->func_arg2 = arg2;
}
-void uiBlockSetNFunc(uiBlock *block, uiButHandleFunc func, void *argN, void *arg2)
+void uiBlockSetNFunc(uiBlock *block, uiButHandleNFunc funcN, void *argN, void *arg2)
{
if (block->func_argN) {
MEM_freeN(block->func_argN);
}
- block->funcN = func;
+ block->funcN = funcN;
block->func_argN = argN;
block->func_arg2 = arg2;
}