annotate src/xpm_w32.h @ 17839:c72989922b51 v8.1.1916

patch 8.1.1916: trying to allocate negative amount of memory closing popup Commit: https://github.com/vim/vim/commit/741ea17038d4b227a4433c87d918a9da0737fc50 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 24 14:16:32 2019 +0200 patch 8.1.1916: trying to allocate negative amount of memory closing popup Problem: Trying to allocate negative amount of memory when closing a popup. Solution: Check the rows are not out of bounds. Don't finish a selection if it was never started.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Aug 2019 14:30:03 +0200
parents 1a5d34492798
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 * Header file for xpm_w32.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #ifndef XPM_W32__H
7807
1a5d34492798 commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
6 int LoadXpmImage(char *filename, HBITMAP *hImage, HBITMAP *hShape);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #endif