From 2115232a16d81d28dbdb8042ed8e9316858514c6 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Fri, 4 Sep 2020 20:59:13 +0200 Subject: Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix No functional changes --- source/blender/blenkernel/BKE_text.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenkernel/BKE_text.h') diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index 289ad351429..9d5308de280 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -89,8 +89,8 @@ int txt_setcurr_tab_spaces(struct Text *text, int space); bool txt_cursor_is_line_start(struct Text *text); bool txt_cursor_is_line_end(struct Text *text); -int txt_calc_tab_left(struct TextLine *line, int ch); -int txt_calc_tab_right(struct TextLine *line, int ch); +int txt_calc_tab_left(struct TextLine *tl, int ch); +int txt_calc_tab_right(struct TextLine *tl, int ch); /* utility functions, could be moved somewhere more generic but are python/text related */ int text_check_bracket(const char ch); @@ -111,7 +111,7 @@ enum { }; /* Fast non-validating buffer conversion for undo. */ -char *txt_to_buf_for_undo(struct Text *text, int *r_buf_strlen); +char *txt_to_buf_for_undo(struct Text *text, int *r_buf_len); void txt_from_buf_for_undo(struct Text *text, const char *buf, int buf_len); #ifdef __cplusplus -- cgit v1.2.3