From 80a650dfb1e73363ae6924dc5738b732bb89ded4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Nov 2010 06:35:45 +0000 Subject: BLF_draw functions take an extra length argument, so the console drawing doenst need to swap in NULL chars to draw word wrapping. --- source/blender/editors/space_info/textview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 b664ca1a155..35c44d36f27 100644 --- a/source/blender/editors/space_info/textview.h +++ b/source/blender/editors/space_info/textview.h @@ -39,7 +39,7 @@ typedef struct TextViewContext { /* iterator */ int (*step)(struct TextViewContext *tvc); - int (*line_get)(struct TextViewContext *tvc, char **, int *); + int (*line_get)(struct TextViewContext *tvc, const char **, int *); int (*line_color)(struct TextViewContext *tvc, unsigned char fg[3], unsigned char bg[3]); void *iter; int iter_index; -- cgit v1.2.3