From b9114cb609698bdd40175b79c017b8ec8d10b518 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 4 Jan 2014 17:16:19 +1100 Subject: UI: Use bool rather then int/short's where possible --- source/blender/python/intern/bpy_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/intern') diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 7a3d56dc56d..68816b728a7 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -580,7 +580,7 @@ void BPY_DECREF_RNA_INVALIDATE(void *pyob_ptr) /* return -1 on error, else 0 */ -int BPY_button_exec(bContext *C, const char *expr, double *value, const short verbose) +int BPY_button_exec(bContext *C, const char *expr, double *value, const bool verbose) { PyGILState_STATE gilstate; PyObject *py_dict, *mod, *retval; -- cgit v1.2.3