if (marked_cut == 2 && current_x != strlen(current->data)) {
tmp = make_new_node(current);
- tmp->data = nmalloc(strlen(¤t->data[current_x]));
+ tmp->data = nmalloc(strlen(¤t->data[current_x]) + 1);
strcpy(tmp->data, ¤t->data[current_x]);
tmp->next = current->next;
current->next = tmp;
tmp->prev = current;
current->data[current_x] = 0;
current->data = nrealloc(current->data, strlen(current->data) + 1);
+ current = current->next;
+ current_x = 0;
+ placewewant = 0;
}
- renumber(current);
+ renumber(current->prev);
dump_buffer(fileage);
dump_buffer(cutbuffer);
set_modified();
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-27 01:11-0400\n"
+"POT-Creation-Date: 2000-07-27 09:08-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"