diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-13 12:12:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-13 12:14:33 +0300 |
commit | df032580c170d9f5e508b34673b84a14f8808990 (patch) | |
tree | eb50b9a1fd4580b5fdf8b4803b697411527e7d06 /source/blender/editors/space_info/textview.h | |
parent | 54743dbf09323cffafb04b5c6c64d15941b63108 (diff) |
Fix info showing multi-line reports reversed (upside-down)
Also, only show the icon once per report.
Diffstat (limited to 'source/blender/editors/space_info/textview.h')
-rw-r--r-- | source/blender/editors/space_info/textview.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h index 54b7c477791..8eef4ef5d56 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -65,10 +65,10 @@ typedef struct TextViewContext { void (*const_colors)(struct TextViewContext *tvc, unsigned char bg_sel[4]); const void *iter; int iter_index; - /** Char index, used for multi-line report display. */ - int iter_char; - /** Same as 'iter_char', next new-line. */ - int iter_char_next; + /** Used for internal multi-line iteration. */ + int iter_char_begin; + /** The last character (not inclusive). */ + int iter_char_end; /** Internal iterator use. */ int iter_tmp; |