strnames[i][0] == 'k' && strnames[i][0] == 'f' should be
authorkrw <krw@openbsd.org>
Wed, 3 Aug 2016 16:32:08 +0000 (16:32 +0000)
committerkrw <krw@openbsd.org>
Wed, 3 Aug 2016 16:32:08 +0000 (16:32 +0000)
commit0ad559dc863ccfbf8db0f77223f41910adf05a83
treeb2665fb58ec502235760e1df8f6130c748df06da
parent5359fb47a459c1c88c7e7cb5390ff84513cb868e
strnames[i][0] == 'k' && strnames[i][0] == 'f' should be
strnames[i][0] == 'k' && strnames[i][1] == 'f'.

Spotted by the Echelon team with AppChecker static analyzer.

millert@ naddy@ and ncurses 6.0 all agree.
usr.bin/infocmp/infocmp.c