diff --git a/ChangeLog b/ChangeLog index 58f7797500153d03a0f8365ce468d1347c0b7497..f346c22a33c55cc53abb414dd223d7381834cd51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -290,6 +290,8 @@ CVS code - - Remove apparently unneeded leaveok() calls. (David Benbennick) edit_refresh_clearok(), center_cursor() - Removed, as they are now unnecessary. (David Benbennick) + statusq() + - Don't allow "Full Justify" when in view mode. (DLR) statusbar() - Call reset_cursor() just before refreshing the edit window, so that slang and other non-ncurses versions of curses will diff --git a/src/winio.c b/src/winio.c index 3eea29088772ed0a5561276f42372bce431706db..981174f343068afa00df5a7a24d9b9e9c60c28ee 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2316,7 +2316,8 @@ int statusq(int allowtabs, const shortcut *s, const char *def, resetstatuspos = 1; break; case NANO_FULLJUSTIFY_KEY: - do_full_justify(); + if (!ISSET(VIEW_MODE)) + do_full_justify(); resetstatuspos = 1; break; #endif