diff --git a/ChangeLog b/ChangeLog index a2a178d21e0b7829f59d75f5249e9ac3c96eed8f..ef6231ff9e49bb91b99b7c310392f133bc7a4e25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,11 @@ CVS code - - cut.c: do_cut_text() - marked text cut fixes (Rocco) (Fixes bug #54). +- nano.c: + do_justify() + - If the keystroke after the justify is not the unjustify key, + blank the statsubar (bug reported by Neil Parks). + - hu.po: - Hungarian translation by Horvath Szabolcs. diff --git a/nano.c b/nano.c index 8c342e446702a6a35bcd4bc90c17343394b88159..15eae21bcd030ce4464b6eca83125273c03d24b7 100644 --- a/nano.c +++ b/nano.c @@ -1913,9 +1913,10 @@ int do_justify(void) /* Now get a keystroke and see if it's unjustify, if not unget the keytroke and return */ - if ((kbinput = wgetch(edit)) != NANO_UNJUSTIFY_KEY) + if ((kbinput = wgetch(edit)) != NANO_UNJUSTIFY_KEY) { ungetch(kbinput); - else { + blank_statusbar_refresh(); + } else { /* Else restore the justify we just did (ungrateful user!) */ if (tmptop->prev != NULL) tmptop->prev->next = tmpbot->next;