Mercurial > vim
comparison src/edit.c @ 1622:149d8b46404c
updated for version 7.2a
author | vimboss |
---|---|
date | Tue, 24 Jun 2008 22:09:24 +0000 |
parents | ed7fefbef738 |
children | f4f8014d516e |
comparison
equal
deleted
inserted
replaced
1621:82b5078be2dd | 1622:149d8b46404c |
---|---|
9298 | 9298 |
9299 /* Delete following spaces. */ | 9299 /* Delete following spaces. */ |
9300 i = cursor->col - fpos.col; | 9300 i = cursor->col - fpos.col; |
9301 if (i > 0) | 9301 if (i > 0) |
9302 { | 9302 { |
9303 mch_memmove(ptr, ptr + i, STRLEN(ptr + i) + 1); | 9303 STRMOVE(ptr, ptr + i); |
9304 /* correct replace stack. */ | 9304 /* correct replace stack. */ |
9305 if ((State & REPLACE_FLAG) | 9305 if ((State & REPLACE_FLAG) |
9306 #ifdef FEAT_VREPLACE | 9306 #ifdef FEAT_VREPLACE |
9307 && !(State & VREPLACE_FLAG) | 9307 && !(State & VREPLACE_FLAG) |
9308 #endif | 9308 #endif |