Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Haarsma <phaseIV@zonnet.nl>2003-01-23 19:39:17 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2003-01-23 19:39:17 +0300
commit5d93519fbc6190c0fdfc64873b5b9e04c12bb550 (patch)
tree273b18f675f4c45f92efce8a7dcf2dd6ff27941a
parent219e8e3846fe09fd4d57cbab5ab68baf401bc776 (diff)
added showlinenrs variable to spacetext
-rw-r--r--source/blender/makesdna/DNA_space_types.h3
-rw-r--r--source/blender/src/space.c1
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;
}