diff options
author | Ron Yorston <rmy@pobox.com> | 2024-09-28 08:13:32 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-09-28 08:13:32 +0100 |
commit | 431e2704c17d5c0e51a0cbebfb1105bd4962b3f7 (patch) | |
tree | 6ff19e48cdcab8ba8176d22813d39a375399a610 /editors | |
parent | 940f40e371695d6b247f4b406e7eb580fb91e866 (diff) | |
parent | dff444bc375e6eb4c6775dbfc753ba71b46e9797 (diff) | |
download | busybox-w32-431e2704c17d5c0e51a0cbebfb1105bd4962b3f7.tar.gz busybox-w32-431e2704c17d5c0e51a0cbebfb1105bd4962b3f7.tar.bz2 busybox-w32-431e2704c17d5c0e51a0cbebfb1105bd4962b3f7.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'editors')
-rw-r--r-- | editors/ed.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/ed.c b/editors/ed.c index e25179ddc..a02634ec7 100644 --- a/editors/ed.c +++ b/editors/ed.c | |||
@@ -345,10 +345,8 @@ static int insertLine(int num, const char *data, int len) | |||
345 | lp->prev->next = newLp; | 345 | lp->prev->next = newLp; |
346 | lp->prev = newLp; | 346 | lp->prev = newLp; |
347 | 347 | ||
348 | #if ENABLE_PLATFORM_MINGW32 | ||
349 | if (num <= curNum) | 348 | if (num <= curNum) |
350 | curLine = curLine->prev; | 349 | curLine = curLine->prev; |
351 | #endif | ||
352 | lastNum++; | 350 | lastNum++; |
353 | dirty = TRUE; | 351 | dirty = TRUE; |
354 | return setCurNum(num); | 352 | return setCurNum(num); |