Mercurial > vim
view src/gvimtutor @ 16040:13ab270dd68d v8.1.1025
patch 8.1.1025: checking NULL pointer after addition
commit https://github.com/vim/vim/commit/64c8ed366de995a01ca1a072a6943ede0d7bb932
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 20 21:18:34 2019 +0100
patch 8.1.1025: checking NULL pointer after addition
Problem: Checking NULL pointer after addition. (Coverity)
Solution: First check for NULL, then add the column.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Mar 2019 21:30:04 +0100 |
parents | 4a317df16962 |
children | d4faa2c5211b |
line wrap: on
line source
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"