diff options
| author | erw7 <erw7.github@gmail.com> | 2020-08-01 01:52:15 +0900 |
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2020-08-04 07:20:07 -0400 |
| commit | fd02e63513f299394a4a95fc271fbd86d48af30a (patch) | |
| tree | 4d2c1e053f6507ad7c737d568d54d7ed99bb3c0f /runtime/syntax/javascriptreact.vim | |
| parent | 0547b4cdad3d432491f4f7ca71089e306f4dd5c5 (diff) | |
| download | rneovim-fd02e63513f299394a4a95fc271fbd86d48af30a.tar.gz rneovim-fd02e63513f299394a4a95fc271fbd86d48af30a.tar.bz2 rneovim-fd02e63513f299394a4a95fc271fbd86d48af30a.zip | |
ui: fix problem with sattr_T overflow
sattr_T was defined as uint16_t. But this is not enough to handle the
24-bit colors of the terminal. To solve this problem, change it to int.
In 32bit, int may overflow. So, if it overflows, change it to ignore it
without adding more attr_entries.
fixes #12366
(cherry picked from commit 872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4)
Diffstat (limited to 'runtime/syntax/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions