mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-16 13:24:27 +03:00
rcfile: let a 'set fill' reenable hardwrapping
Otherwise the user can override a 'set nowrap' in /etc/nanorc only via the command line. This fixes https://savannah.gnu.org/bugs/?49593 reported by Shirish.
This commit is contained in:
parent
7598b77e75
commit
65bf36baa5
@ -1143,8 +1143,10 @@ void parse_rcfile(FILE *rcstream
|
||||
rcfile_error(N_("Requested fill size \"%s\" is invalid"),
|
||||
option);
|
||||
wrap_at = -CHARS_FROM_EOL;
|
||||
} else
|
||||
} else {
|
||||
UNSET(NO_WRAP);
|
||||
free(option);
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
#ifndef NANO_TINY
|
||||
|
Loading…
x
Reference in New Issue
Block a user