mirror of
git://git.sv.gnu.org/nano.git
synced 2025-04-08 05:53:10 +03:00
build: fix compilation when configured with --disable-color
This commit is contained in:
parent
e2f444cfdf
commit
e67d1bfeb8
@ -848,8 +848,8 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable)
|
|||||||
/* If we inserted less than a screenful, don't center the cursor. */
|
/* If we inserted less than a screenful, don't center the cursor. */
|
||||||
if (undoable && less_than_a_screenful(was_lineno, was_leftedge)) {
|
if (undoable && less_than_a_screenful(was_lineno, was_leftedge)) {
|
||||||
focusing = FALSE;
|
focusing = FALSE;
|
||||||
perturbed = TRUE;
|
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
|
perturbed = TRUE;
|
||||||
} else if (undoable) {
|
} else if (undoable) {
|
||||||
recook = TRUE;
|
recook = TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user