updated for version 7.1b
diff --git a/src/VisVim/DSAddIn.cpp b/src/VisVim/DSAddIn.cpp
index 3e72544..b16361b 100644
--- a/src/VisVim/DSAddIn.cpp
+++ b/src/VisVim/DSAddIn.cpp
@@ -93,7 +93,7 @@
// Add a command to DevStudio
// Creates a toolbar button for the command also.
-// 'MethodName' is the name of the methode specified in the .odl file
+// 'MethodName' is the name of the method specified in the .odl file
// 'StrResId' the resource id of the descriptive string
// 'GlyphIndex' the image index into the command buttons bitmap
// Return true on success
diff --git a/src/feature.h b/src/feature.h
index 00dd014..aa694e6 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -1096,7 +1096,7 @@
/*
* +termresponse send t_RV to obtain terminal response. Used for xterm
* to check if mouse dragging can be used and if term
- * codes can be obtaind.
+ * codes can be obtained.
*/
#if (defined(FEAT_NORMAL) || defined(FEAT_MOUSE)) && defined(HAVE_TGETENT)
# define FEAT_TERMRESPONSE
@@ -1155,7 +1155,7 @@
* +python Python interface: "--enable-pythoninterp"
* +tcl TCL interface: "--enable-tclinterp"
* +sniff Sniff interface: "--enable-sniff"
- * +sun_workshop Sun Workshop integegration
+ * +sun_workshop Sun Workshop integration
* +netbeans_intg Netbeans integration
*/
diff --git a/src/os_unix.c b/src/os_unix.c
index beeea3f..2d512b7 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -490,7 +490,7 @@
/* avoid overflow as much as possible */
while (shiftright > 0 && (pagesize & 1) == 0)
{
- pagesize = pagesize >> 1;
+ pagesize = (long_u)pagesize >> 1;
--shiftright;
}
mem = (long_u)pagesize * pagecount;
diff --git a/src/os_unix.h b/src/os_unix.h
index 821462c..d99d1c8 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -483,7 +483,7 @@
# endif
# ifndef VMS
# ifdef __MVS__
- /* on OS390 Unix getenv() doesn't return a pointer to persistant
+ /* on OS390 Unix getenv() doesn't return a pointer to persistent
* storage -> use __getenv() */
# define mch_getenv(x) (char_u *)__getenv((char *)(x))
# else
diff --git a/src/tag.c b/src/tag.c
index aa1ab75..d46239c 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -383,7 +383,7 @@
/*
* Beyond the last one, just give an error message and
* go to the last one. Don't store the cursor
- * postition.
+ * position.
*/
tagstackidx = tagstacklen - 1;
EMSG(_(topmsg));
@@ -1330,7 +1330,7 @@
} incstack[INCSTACK_SIZE];
int incstack_idx = 0; /* index in incstack */
- char_u *ebuf; /* aditional buffer for etag fname */
+ char_u *ebuf; /* additional buffer for etag fname */
int is_etag; /* current file is emaces style */
#endif
@@ -2812,7 +2812,7 @@
*
* Static tags produced by the older ctags program have the format:
* 'file:tag file /pattern'.
- * This is only recognized when both occurences of 'file' are the same, to
+ * This is only recognized when both occurrence of 'file' are the same, to
* avoid recognizing "string::string" or ":exit".
*
* Static tags produced by the new ctags program have the format: