try_mark_key: try to improve readability by using a local var and a cast
commitedeb934cc32c235c03206bc9128266d550dfcf07
authorJonas Fonseca <fonseca@diku.dk>
Sun, 13 Aug 2006 11:27:16 +0000 (13 13:27 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Sun, 13 Aug 2006 11:27:16 +0000 (13 13:27 +0200)
tree5cdd99dbba265b0c70abc4813aa32ea68bd6daa5
parentf24fa6ef635f82e588fafec4091b7fd3ecc94a59
try_mark_key: try to improve readability by using a local var and a cast

The cast is not necessary since we already check the bounds, but by using a
cast here, it hopefully makes it more obvious what the long comment above
is pointing out: namely that we put the value of a signed integer into an
unsigned char.
src/viewer/text/view.c