From 287325af35bf41890512af491b4c5f9a5f31c809 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 2 Dec 2010 21:48:46 +0000 Subject: fix [#24586] Report mode of console does not show proper cariage returns. use the line iterator to split up newlines. --- source/blender/editors/space_info/textview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/space_info/textview.h') 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; -- cgit v1.2.3