From 4d34b432dbff61a435816d74ef6b08a1b50d3f8d Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Mon, 7 Mar 2005 23:22:00 +0000
Subject: [PATCH] updated for version 7.0057

---
 runtime/doc/various.txt | 6 ++++--
 src/misc1.c             | 1 -
 src/proto/memline.pro   | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 7c0e74d04c..556ea4aab7 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 7.0aa.  Last change: 2005 Mar 04
+*various.txt*   For Vim version 7.0aa.  Last change: 2005 Mar 07
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -250,7 +250,9 @@ g8			Print the hex values of the bytes used in the
    *+ARP*		Amiga only: ARP support included
 B  *+arabic*		|Arabic| language support
 N  *+autocmd*		|:autocmd|, automatic commands
-m  *+balloon_eval*	|balloon-eval| support
+m  *+balloon_eval*	|balloon-eval| support. Included when compiling with
+			supported GUI (Motif, GTK, GUI) and either
+			Netbeans/Sun Workshop integration or |+eval| feature.
 N  *+browse*		|:browse| command
 N  *+builtin_terms*	some terminals builtin |builtin-terms|
 B  *++builtin_terms*	maximal terminals builtin |builtin-terms|
diff --git a/src/misc1.c b/src/misc1.c
index 20890bbb11..3125dfe341 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3628,7 +3628,6 @@ vim_getenv(name, mustfree)
 	    if (pp != NULL)
 	    {
 		p = pp;
-		p[len] = NUL;
 		*mustfree = TRUE;
 	    }
 	}
diff --git a/src/proto/memline.pro b/src/proto/memline.pro
index 4e0382a006..1ebd7eb2f1 100644
--- a/src/proto/memline.pro
+++ b/src/proto/memline.pro
@@ -26,6 +26,6 @@ linenr_T ml_firstmarked __ARGS((void));
 void ml_clearmarked __ARGS((void));
 char_u *get_file_in_dir __ARGS((char_u *fname, char_u *dname));
 void ml_setflags __ARGS((buf_T *buf));
-long ml_find_line_or_offset __ARGS((buf_T *buf, linenr_T line, long *offp));
+long ml_find_line_or_offset __ARGS((buf_T *buf, linenr_T lnum, long *offp));
 void goto_byte __ARGS((long cnt));
 /* vim: set ft=c : */
-- 
GitLab