Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-28 09:42:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-28 09:42:31 +0300
commit4ddb7a33a4a57a753063731f64c7e5e679c67676 (patch)
tree83686bf1f27b8b8f67da1ddd48173b29c7438425 /source/blender/editors/interface
parent5c8ccad652197fd4473168dd2a7c2e24fca2548c (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_panel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index f6838002ea5..54f60a05cfd 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -373,8 +373,8 @@ void UI_panels_free_instanced(bContext *C, ARegion *region)
* don't match in any way.
*
* \param data: The list of data to check against the instanced panels.
- * \param panel_type_func: Function to find the panel type idname for each item in the data list.
- * For a readabilty and generality, this lookup happens separately for each type of panel list.
+ * \param panel_idname_func: Function to find the panel type idname for each item in the data list.
+ * For a readability and generality, this lookup happens separately for each type of panel list.
*/
bool UI_panel_list_matches_data(ARegion *region,
ListBase *data,
@@ -1143,8 +1143,8 @@ void ui_draw_aligned_panel(uiStyle *style,
immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR);
GPU_blend(true);
- /* Draw panel backdrop if it wasn't aleady been drawn by the single opauque round box earlier.
- * Note: Subpanels blend with panels, so they can't be opaque. */
+ /* Draw panel backdrop if it wasn't already been drawn by the single opaque round box earlier.
+ * Note: Sub-panels blend with panels, so they can't be opaque. */
if (show_background && !(draw_box_style && !is_subpanel)) {
/* Draw the bottom subpanels . */
if (draw_box_style) {