diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |