diff --git a/src/cut.c b/src/cut.c index e54ff3a1ea9fe42b942ebaa30eed5d40b68c4a5f..9cbf4d6453611e56590f9fb4f72396ed4e2d93c7 100644 --- a/src/cut.c +++ b/src/cut.c @@ -141,7 +141,7 @@ void do_cut_text( /* If the cutbuffer isn't empty, save where it currently * ends. This is where the new text will be added. */ cb_save = cutbottom; - cb_save_len = strlen(cb_save->data); + cb_save_len = strlen(cutbottom->data); } /* Set NO_NEWLINES to TRUE, so that we don't disturb the last