Mercurial > vim
annotate nsis/gvim_version.nsh @ 34269:22be86ed7545 v9.1.0073
patch 9.1.0073: Looping over modifier_keys_table unnecessarily
Commit: https://github.com/vim/vim/commit/0c989e4a3ae50085aa8c6bed5d6701760191bc1d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Feb 3 18:04:05 2024 +0100
patch 9.1.0073: Looping over modifier_keys_table unnecessarily
Problem: Looping over modifier_keys_table[] unnecessarily with only
MOD_MASK_ALT or MOD_MASK_CMD, as modifier_keys_table[] only
contains MOD_MASK_SHIFT and MOD_MASK_CTRL, and the loop won't
do anything.
Solution: Remove MOD_MASK_ALT and MOD_MASK_CMD from the condition.
(zeertzjq)
closes: #13963
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 03 Feb 2024 18:15:02 +0100 |
parents | 4635e43f2c6f |
children |
rev | line source |
---|---|
7443
357b7bd8d612
commit https://github.com/vim/vim/commit/6c7b44472f7055c78d996e1b626bd2932502212f
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # Generated from Makefile: define the version numbers |
357b7bd8d612
commit https://github.com/vim/vim/commit/6c7b44472f7055c78d996e1b626bd2932502212f
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 !ifndef __GVIM_VER__NSH__ |
357b7bd8d612
commit https://github.com/vim/vim/commit/6c7b44472f7055c78d996e1b626bd2932502212f
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 !define __GVIM_VER__NSH__ |
29314 | 4 !define VER_MAJOR 9 |
34057
4635e43f2c6f
patch 9.1.0000: Vim 9.1 release
Christian Brabandt <cb@256bit.org>
parents:
29314
diff
changeset
|
5 !define VER_MINOR 1 |
7443
357b7bd8d612
commit https://github.com/vim/vim/commit/6c7b44472f7055c78d996e1b626bd2932502212f
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 !endif |