added showlinenrs variable to spacetext
authorRob Haarsma <phaseIV@zonnet.nl>
Thu, 23 Jan 2003 16:39:17 +0000 (16:39 +0000)
committerRob Haarsma <phaseIV@zonnet.nl>
Thu, 23 Jan 2003 16:39:17 +0000 (16:39 +0000)
source/blender/makesdna/DNA_space_types.h
source/blender/src/space.c

index 5abc9b47c050a1ccc78fca5e562371c74fb2c419..29b37bb748ceb8b780044937b2c1230858489cba 100644 (file)
@@ -215,7 +215,8 @@ typedef struct SpaceText {
        
        int font_id;    
        int lheight;
-       int left, pad2;
+       int left;
+       int showlinenrs;
        
        float pix_per_line;
 
index 64c79f0924ceff4aabac3a6b7fd282169c57de97..75348689e68f6cdc31068ca662cd1e323e2965a3 100644 (file)
@@ -1823,6 +1823,7 @@ void init_textspace(ScrArea *sa)
        
        st->font_id= 5;
        st->lheight= 12;
+       st->showlinenrs= 0;
        
        st->top= 0;
 }