diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-03-07 01:12:42 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-03-07 01:12:42 +0300 |
commit | 26fae8985bbc754325a15a77ca20a63a9669b2dd (patch) | |
tree | 7ee46eed4c949a54821deffc5a447c3008a8b683 /source/blender/blenkernel/intern/text.c | |
parent | 3838b80cf1cfe0a340a8471732bc86fde2852c29 (diff) |
flipping "tab as space" option (so it's on by default - argh ;)
(and fix error in creator.c last commit)
Diffstat (limited to 'source/blender/blenkernel/intern/text.c')
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index c28f4fde8ed..b58caf14293 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -191,7 +191,7 @@ Text *add_empty_text(char *name) ta->nlines=1; ta->flags= TXT_ISDIRTY | TXT_ISMEM; - if(U.flag & USER_TXT_TABSTOSPACES) + if((U.flag & USER_TXT_TABSTOSPACES_DISABLE)==0) ta->flags |= TXT_TABSTOSPACES; ta->lines.first= ta->lines.last= NULL; @@ -357,7 +357,7 @@ Text *add_text(char *file, const char *relpath) ta->markers.first= ta->markers.last= NULL; ta->curl= ta->sell= NULL; - if(U.flag & USER_TXT_TABSTOSPACES) + if((U.flag & USER_TXT_TABSTOSPACES_DISABLE)==0) ta->flags= TXT_TABSTOSPACES; fseek(fp, 0L, SEEK_END); |