do_enter()
- Fixed typo (?) in check for inptr->next. Caused lots of
grief for editing lines at filebot.
+ main()
+ - Removed now useless usrtabsize variable (Christian Weisgerber).
- search.c:
replace_abort()
- redundant, now just calls search abort until it does something
struct sigaction act; /* For our lovely signals */
int keyhandled = 0; /* Have we handled the keystroke yet? */
int tmpkey = 0, i;
- int usrtabsize = 0; /* User defined tab size */
char *argv0;
struct termios term;
switch (optchr) {
case 'T':
- usrtabsize = atoi(optarg);
- if (usrtabsize <= 0) {
+ tabsize = atoi(optarg);
+ if (tabsize <= 0) {
usage(); /* To stop bogus data for tab width */
finish(1);
}
else
edit_update(fileage, CENTER);
- if (usrtabsize > 0)
- tabsize = usrtabsize;
-
edit_refresh();
reset_cursor();