diff --git a/ChangeLog b/ChangeLog index 2016a67a..5118fc55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -57,6 +57,9 @@ General die_too_small() - Function to print the window too small error message, avoids repeated string defs and globals. + do_justify() + - Small fix for totsize calculation (Rob) + - fi.po: - Update by Pauli Virtanen. diff --git a/nano.c b/nano.c index 328ac1be..2517ba25 100644 --- a/nano.c +++ b/nano.c @@ -1818,8 +1818,6 @@ int do_justify(void) delete_node(tmpnode); } - totsize -= strlen(current->data); - justify_format(current->data); slen = strlen(current->data);