diff --git a/intern/ghost/intern/GHOST_NDOFManager.cc b/intern/ghost/intern/GHOST_NDOFManager.cc index 568ecd2225a..2097498958e 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.cc +++ b/intern/ghost/intern/GHOST_NDOFManager.cc @@ -401,7 +401,7 @@ void GHOST_NDOFManager::updateRotation(const int r[3], uint64_t time) static CLG_LogRef LOG_NDOF_BUTTONS = {"ghost.ndof.buttons"}; #define LOG (&LOG_NDOF_BUTTONS) -static GHOST_TKey ghost_map_keyboard_from_ndof_buttom(const GHOST_NDOF_ButtonT button) +static GHOST_TKey ghost_map_keyboard_from_ndof_button(const GHOST_NDOF_ButtonT button) { switch (button) { case GHOST_NDOF_BUTTON_ESC: { @@ -528,7 +528,7 @@ void GHOST_NDOFManager::updateButton(GHOST_NDOF_ButtonT button, bool press, uint /* Delivery will fail, so don't bother sending. */ if (window != nullptr) { - const GHOST_TKey key = ghost_map_keyboard_from_ndof_buttom(button); + const GHOST_TKey key = ghost_map_keyboard_from_ndof_button(button); if (key != GHOST_kKeyUnknown) { sendKeyEvent(key, press, time, window); } diff --git a/source/blender/makesrna/intern/rna_nodetree.cc b/source/blender/makesrna/intern/rna_nodetree.cc index dc12384b0ff..5d99493a3a4 100644 --- a/source/blender/makesrna/intern/rna_nodetree.cc +++ b/source/blender/makesrna/intern/rna_nodetree.cc @@ -8110,7 +8110,7 @@ static void def_cmp_crop(BlenderRNA * /*brna*/, StructRNA *srna) RNA_def_property_int_sdna(prop, nullptr, "y2"); RNA_def_property_int_funcs(prop, nullptr, "rna_NodeCrop_max_y_set", nullptr); RNA_def_property_range(prop, 0, 10000); - RNA_def_property_ui_text(prop, "Y2", "Buttom edge of the cropping rectangle"); + RNA_def_property_ui_text(prop, "Y2", "Bottom edge of the cropping rectangle"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); prop = RNA_def_property(srna, "rel_min_x", PROP_FLOAT, PROP_NONE); @@ -8138,7 +8138,7 @@ static void def_cmp_crop(BlenderRNA * /*brna*/, StructRNA *srna) RNA_def_property_float_sdna(prop, nullptr, "fac_y2"); RNA_def_property_float_funcs(prop, nullptr, "rna_NodeCrop_rel_max_y_set", nullptr); RNA_def_property_range(prop, 0.0, 1.0); - RNA_def_property_ui_text(prop, "Y2", "Buttom edge of the cropping rectangle"); + RNA_def_property_ui_text(prop, "Y2", "Bottom edge of the cropping rectangle"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); }