diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-03-06 11:47:27 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-03-06 11:47:27 +0300 |
commit | 0b9c1c2b86d02223621d76cc19894d8327388894 (patch) | |
tree | 43e159592c6cfd9c6d5fb85e9054a573f1ea1869 /source/blender/editors/space_image/image_ops.c | |
parent | 5be0e3430d13341feddee739997130239daf71d5 (diff) |
Cleanup: typo in function name
contect -> context
Diffstat (limited to 'source/blender/editors/space_image/image_ops.c')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 35985bec5e7..3126c695a3a 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -235,7 +235,7 @@ static bool image_from_context_has_data_poll(bContext *C) /** * Use this when the image buffer is accessed without the image user. */ -static bool image_from_contect_has_data_poll_no_image_user(bContext *C) +static bool image_from_context_has_data_poll_no_image_user(bContext *C) { Image *ima = image_from_context(C); @@ -2827,7 +2827,7 @@ void IMAGE_OT_invert(wmOperatorType *ot) /* api callbacks */ ot->exec = image_invert_exec; - ot->poll = image_from_contect_has_data_poll_no_image_user; + ot->poll = image_from_context_has_data_poll_no_image_user; /* properties */ prop = RNA_def_boolean(ot->srna, "invert_r", 0, "Red", "Invert Red Channel"); @@ -2916,7 +2916,7 @@ void IMAGE_OT_resize(wmOperatorType *ot) /* api callbacks */ ot->invoke = image_scale_invoke; ot->exec = image_scale_exec; - ot->poll = image_from_contect_has_data_poll_no_image_user; + ot->poll = image_from_context_has_data_poll_no_image_user; /* properties */ RNA_def_int_vector(ot->srna, "size", 2, NULL, 1, INT_MAX, "Size", "", 1, SHRT_MAX); |