Mercurial > vim
annotate src/proto/popupmnu.pro @ 12206:bd8d767fb36f v8.0.0983
patch 8.0.0983: unnecessary check for NULL pointer
commit https://github.com/vim/vim/commit/3f9a1ff141412e9e85f7dff47d02946cb9be9228
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 21 22:06:02 2017 +0200
patch 8.0.0983: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer.
Solution: Remove the NULL check in dialog_changed(), it already happens in
dialog_msg(). (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 Aug 2017 22:15:06 +0200 |
parents | 21b0a39d13ed |
children | ebb4f6c93598 |
rev | line source |
---|---|
799 | 1 /* popupmnu.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
2 void pum_display(pumitem_T *array, int size, int selected); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
3 void pum_redraw(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
4 void pum_undisplay(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
5 void pum_clear(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
6 int pum_visible(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
7 int pum_get_height(void); |
799 | 8 /* vim: set ft=c : */ |