Bill's TABSIZE fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@93 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Robert Siemborski 2000-07-08 14:23:32 +00:00
parent 7ecc435f5a
commit 6967eec4cb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Current CVS:
- nano.c:
main():
- TABSIZE now set before first call to edit_refresh (Bill Soudan)
nano-0.9.12 - 07/07/2000
- all:
- New regexp search feature by Bill Soudan. New flags USE_REGEXP

6
nano.c
View File

@ -1757,14 +1757,14 @@ int main(int argc, char *argv[])
else
edit_update(fileage);
edit_refresh();
reset_cursor();
#ifdef HAVE_TABSIZE
if (usrtabsize > 0)
TABSIZE = usrtabsize;
#endif
edit_refresh();
reset_cursor();
while (1) {
kbinput = wgetch(edit);
if (kbinput == 27) { /* Grab Alt-key stuff first */