diff options
-rw-r--r-- | source/blender/include/BIF_drawtext.h | 1 | ||||
-rw-r--r-- | source/blender/src/drawtext.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/include/BIF_drawtext.h b/source/blender/include/BIF_drawtext.h index bc4d5e3f9c8..51000f8c81a 100644 --- a/source/blender/include/BIF_drawtext.h +++ b/source/blender/include/BIF_drawtext.h @@ -33,6 +33,7 @@ struct ScrArea; struct SpaceText; struct Text; +struct TextLine; void unlink_text(struct Text *text); diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index daa2d52d485..3f21d32c2d4 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -138,8 +138,6 @@ static void get_selection_buffer(Text *text); static int check_bracket(char ch); static int check_delim(char ch); static int check_digit(char ch); -static int check_builtinfuncs(char *string); -static int check_specialvars(char *string); static int check_identifier(char ch); static int check_whitespace(char ch); @@ -595,6 +593,7 @@ static void set_cursor_to_pos (SpaceText *st, int x, int y, int sel) chop= 1; chars= 0; curs= 0; + endj= 0; for (i=0, j=0; loop; j++) { /* Mimic replacement of tabs */ |