Mercurial > vim
comparison src/screen.c @ 1621:82b5078be2dd
updated for version 7.2a
author | vimboss |
---|---|
date | Tue, 24 Jun 2008 21:56:24 +0000 |
parents | dbef8434a2ea |
children | 0b796e045c42 |
comparison
equal
deleted
inserted
replaced
1620:73fe8baea242 | 1621:82b5078be2dd |
---|---|
2950 { | 2950 { |
2951 /* Short line, use it completely and append the start of the | 2951 /* Short line, use it completely and append the start of the |
2952 * next line. */ | 2952 * next line. */ |
2953 nextlinecol = 0; | 2953 nextlinecol = 0; |
2954 mch_memmove(nextline, line, (size_t)v); | 2954 mch_memmove(nextline, line, (size_t)v); |
2955 mch_memmove(nextline + v, nextline + SPWORDLEN, | 2955 STRMOVE(nextline + v, nextline + SPWORDLEN); |
2956 STRLEN(nextline + SPWORDLEN) + 1); | |
2957 nextline_idx = v + 1; | 2956 nextline_idx = v + 1; |
2958 } | 2957 } |
2959 else | 2958 else |
2960 { | 2959 { |
2961 /* Long line, use only the last SPWORDLEN bytes. */ | 2960 /* Long line, use only the last SPWORDLEN bytes. */ |