Mercurial > vim
diff src/if_py_both.h @ 4352:04736b4030ec v7.3.925
updated for version 7.3.925
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 May 2013 04:24:17 +0200 |
parents | 7eaccdaa5304 |
children | 6d45e6f97415 |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -2160,7 +2160,7 @@ py_fix_cursor(linenr_T lo, linenr_T hi, static int SetBufferLine(buf_T *buf, PyInt n, PyObject *line, PyInt *len_change) { - /* First of all, we check the thpe of the supplied Python object. + /* First of all, we check the type of the supplied Python object. * There are three cases: * 1. NULL, or None - this is a deletion. * 2. A string - this is a replacement. @@ -2251,7 +2251,7 @@ SetBufferLine(buf_T *buf, PyInt n, PyObj static int SetBufferLineList(buf_T *buf, PyInt lo, PyInt hi, PyObject *list, PyInt *len_change) { - /* First of all, we check the thpe of the supplied Python object. + /* First of all, we check the type of the supplied Python object. * There are three cases: * 1. NULL, or None - this is a deletion. * 2. A list - this is a replacement. @@ -2428,7 +2428,7 @@ SetBufferLineList(buf_T *buf, PyInt lo, } } -/* Insert a number of lines into the specified buffer after the specifed line. +/* Insert a number of lines into the specified buffer after the specified line. * The line number is in Vim format (1-based). The lines to be inserted are * given as a Python list of string objects or as a single string. The lines * to be added are checked for validity and correct format. Errors are @@ -2819,7 +2819,7 @@ BufferMark(PyObject *self, PyObject *arg return NULL; } - /* Ckeck for keyboard interrupt */ + /* Check for keyboard interrupt */ if (VimErrorCheck()) return NULL;