From 5d93519fbc6190c0fdfc64873b5b9e04c12bb550 Mon Sep 17 00:00:00 2001 From: Rob Haarsma Date: Thu, 23 Jan 2003 16:39:17 +0000 Subject: [PATCH] added showlinenrs variable to spacetext --- source/blender/makesdna/DNA_space_types.h | 3 ++- source/blender/src/space.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 5abc9b47c05..29b37bb748c 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -215,7 +215,8 @@ typedef struct SpaceText { int font_id; int lheight; - int left, pad2; + int left; + int showlinenrs; float pix_per_line; diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 64c79f0924c..75348689e68 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1823,6 +1823,7 @@ void init_textspace(ScrArea *sa) st->font_id= 5; st->lheight= 12; + st->showlinenrs= 0; st->top= 0; }