mirror of git://git.sv.gnu.org/nano.git
Last minute touches on -k code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@133 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
293849eb69
commit
939fdbd64d
7
cut.c
7
cut.c
|
@ -366,15 +366,18 @@ int do_uncut_text(void)
|
|||
|
||||
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();
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue