diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-04 10:16:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-04 11:10:01 +0400 |
commit | b9114cb609698bdd40175b79c017b8ec8d10b518 (patch) | |
tree | 98dc331711dcd06fb69f905ebdaf7937a4d23379 /source/blender/python/intern | |
parent | 091740f858c1b6d3016e38fc3186cce737d9ff2c (diff) |
UI: Use bool rather then int/short's where possible
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |