diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index ff9a6298bf4..9e6efa59d71 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -2244,7 +2244,6 @@ void txt_delete_char (Text *text) if ((mrk->flags & TMARK_TEMP) && !(mrk->flags & TMARK_EDITALL)) { txt_clear_markers(text, mrk->group, TMARK_TEMP); } else { - //TextMarker *nxt= mrk->next; BLI_freelinkN(&text->markers, mrk); } return; @@ -2309,7 +2308,6 @@ void txt_backspace_char (Text *text) if ((mrk->flags & TMARK_TEMP) && !(mrk->flags & TMARK_EDITALL)) { txt_clear_markers(text, mrk->group, TMARK_TEMP); } else { - //TextMarker *nxt= mrk->next; BLI_freelinkN(&text->markers, mrk); } return; @@ -2682,13 +2680,6 @@ int setcurr_tab (Text *text) /* Text marker utility functions */ /*********************************/ -static int color_match(TextMarker *a, TextMarker *b) { - return (a->color[0]==b->color[0] && - a->color[1]==b->color[1] && - a->color[2]==b->color[2] && - a->color[3]==b->color[3]); -} - /* Creates and adds a marker to the list maintaining sorted order */ void txt_add_marker(Text *text, TextLine *line, int start, int end, char color[4], int group, int flags) { TextMarker *tmp, *marker; |