From 6967eec4cb260db650f8888e2b8a3c0a309f1a4d Mon Sep 17 00:00:00 2001 From: Robert Siemborski Date: Sat, 8 Jul 2000 14:23:32 +0000 Subject: [PATCH] Bill's TABSIZE fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@93 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 5 +++++ nano.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0859bff4..c24b87e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/nano.c b/nano.c index 4a2bbe09..1d401b25 100644 --- a/nano.c +++ b/nano.c @@ -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 */ -- 2.39.5