mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
digraph: Ignore false positive
Reversed order is intentional, digraphs allow swapping characters.
This commit is contained in:
@@ -1569,7 +1569,8 @@ int getdigraph(int char1, int char2, int meta_char)
|
||||
|
||||
if (((retval = getexactdigraph(char1, char2, meta_char)) == char2)
|
||||
&& (char1 != char2)
|
||||
&& ((retval = getexactdigraph(char2, char1, meta_char)) == char1)) {
|
||||
&& ((retval = getexactdigraph(char2, char1, meta_char)) // -V764
|
||||
== char1)) {
|
||||
return char2;
|
||||
}
|
||||
return retval;
|
||||
|
Reference in New Issue
Block a user