commit | 084abaec061f830e2d389c416499d013e47fb0db | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 14 19:00:38 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 14 19:00:38 2015 +0100 |
tree | c7fcf6cdd256c6b0076f3675de8cd99288a10118 | |
parent | a20bcad15c826a8c43a0f66a6b438bb5a14c8196 [diff] [blame] |
updated for version 7.4.578 Problem: Using getcurpos() after "$" in an empty line returns a negative number. Solution: Don't add one when this would overflow. (Hirohito Higashi)
diff --git a/src/version.c b/src/version.c index 1367621..7a54fc2 100644 --- a/src/version.c +++ b/src/version.c
@@ -742,6 +742,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 578, +/**/ 577, /**/ 576,