digraph: Ignore false positive

Reversed order is intentional, digraphs allow swapping characters.
This commit is contained in:
ZyX 2017-04-16 19:30:18 +03:00
parent a096766ee3
commit 2901921a1b

View File

@ -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;