From: Robert Siemborski Date: Sat, 8 Jul 2000 14:23:32 +0000 (+0000) Subject: Bill's TABSIZE fix X-Git-Tag: v0.9.13~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6967eec4cb260db650f8888e2b8a3c0a309f1a4d;p=nano.git Bill's TABSIZE fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@93 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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 */