[Bf-blender-cvs] [0b9c1c2b86d] master: Cleanup: typo in function name

Philipp Oeser noreply at git.blender.org
Fri Mar 6 09:50:05 CET 2020


Commit: 0b9c1c2b86d02223621d76cc19894d8327388894
Author: Philipp Oeser
Date:   Fri Mar 6 09:47:27 2020 +0100
Branches: master
https://developer.blender.org/rB0b9c1c2b86d02223621d76cc19894d8327388894

Cleanup: typo in function name

contect -> context

===================================================================

M	source/blender/editors/space_image/image_ops.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list