try_mark_key: Reject non-ASCII keys as mark characters.
commitf97a392c0128cd68afa739eba0a5c4e58c05c9b3
authorKalle Olavi Niemitalo <kon@iki.fi>
Sat, 12 Aug 2006 12:07:07 +0000 (12 15:07 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 12 Aug 2006 12:07:07 +0000 (12 15:07 +0300)
tree73b33ae5ca765acf0a54b142e54477d3e5580efe
parent2648fd57e4b4cd261ed516d237c7a8f48cbb80c3
try_mark_key: Reject non-ASCII keys as mark characters.

The previous version used only the low 8 bits of the key code.
This one arranges for the whole key to be rejected if it's not ASCII.
Perhaps the modifiers should be checked too, but I'm not changing that now.
src/viewer/text/view.c