diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2003-01-23 19:39:17 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2003-01-23 19:39:17 +0300 |
commit | 5d93519fbc6190c0fdfc64873b5b9e04c12bb550 (patch) | |
tree | 273b18f675f4c45f92efce8a7dcf2dd6ff27941a | |
parent | 219e8e3846fe09fd4d57cbab5ab68baf401bc776 (diff) |
added showlinenrs variable to spacetext
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 3 | ||||
-rw-r--r-- | source/blender/src/space.c | 1 |
2 files changed, 3 insertions, 1 deletions
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; } |