Mercurial > vim
comparison src/ex_cmds.c @ 1444:215d6b2a1816 v7.1.159
updated for version 7.1-159
author | vimboss |
---|---|
date | Tue, 20 Nov 2007 17:04:29 +0000 |
parents | c7654c4db8fd |
children | 9be44c669f4c |
comparison
equal
deleted
inserted
replaced
1443:69bcc0c891d7 | 1444:215d6b2a1816 |
---|---|
4883 ++sub_firstlnum; | 4883 ++sub_firstlnum; |
4884 ++lnum; | 4884 ++lnum; |
4885 ++line2; | 4885 ++line2; |
4886 /* move the cursor to the new line, like Vi */ | 4886 /* move the cursor to the new line, like Vi */ |
4887 ++curwin->w_cursor.lnum; | 4887 ++curwin->w_cursor.lnum; |
4888 STRCPY(new_start, p1 + 1); /* copy the rest */ | 4888 /* copy the rest */ |
4889 mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1); | |
4889 p1 = new_start - 1; | 4890 p1 = new_start - 1; |
4890 } | 4891 } |
4891 } | 4892 } |
4892 #ifdef FEAT_MBYTE | 4893 #ifdef FEAT_MBYTE |
4893 else if (has_mbyte) | 4894 else if (has_mbyte) |