diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 00:48:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 00:48:46 +0300 |
commit | 287325af35bf41890512af491b4c5f9a5f31c809 (patch) | |
tree | 7aff5d4ffc34ab42a51c53b4119f9c43520ff31e /source/blender/editors/space_info/textview.h | |
parent | de0b41588ae34962f66b6dc35010a613bb311423 (diff) |
fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.
Diffstat (limited to 'source/blender/editors/space_info/textview.h')
-rw-r--r-- | source/blender/editors/space_info/textview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_info/textview.h b/source/blender/editors/space_info/textview.h index 390f9f5ed7c..aeea12827be 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -45,6 +45,9 @@ typedef struct TextViewContext { int (*line_color)(struct TextViewContext *tvc, unsigned char fg[3], unsigned char bg[3]); void *iter; int iter_index; + int iter_char; /* char intex, used for multi-line report display */ + int iter_char_next; /* same as above, next \n */ + int iter_tmp; /* internal iterator use */ } TextViewContext; |