use booleans for operator check functions.

This commit is contained in:
2013-06-18 15:30:51 +00:00
parent 484d765bd4
commit e6c54c26ae
6 changed files with 9 additions and 9 deletions

View File

@@ -220,7 +220,7 @@ static int screenshot_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(
return OPERATOR_CANCELLED;
}
static int screenshot_check(bContext *UNUSED(C), wmOperator *op)
static bool screenshot_check(bContext *UNUSED(C), wmOperator *op)
{
ScreenshotData *scd = op->customdata;
return WM_operator_filesel_ensure_ext_imtype(op, &scd->im_format);