Ehm... that was a silly, superfluous condition.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2015-12-02 19:11:03 +00:00
parent 1fbcf0b23d
commit 6fa1e98c8d
2 changed files with 2 additions and 2 deletions

View File

@ -751,6 +751,7 @@ void new_magicline(void);
void remove_magicline(void);
void mark_order(const filestruct **top, size_t *top_x, const filestruct
**bot, size_t *bot_x, bool *right_side_up);
void discard_until(undo *thisone);
void add_undo(undo_type action);
void update_undo(undo_type action);
#endif

View File

@ -2307,8 +2307,7 @@ void do_justify(bool full_justify)
edit_refresh_needed = TRUE;
}
} else {
if (func != do_undo)
unget_kbinput(kbinput, meta_key, func_key);
unget_kbinput(kbinput, meta_key, func_key);
/* Blow away the text in the justify buffer. */
free_filestruct(jusbuffer);