Coverity fix: CID 121 NEGATIVE_RETURNS
authorNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 10 Oct 2011 18:16:49 +0000 (14:16 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 10 Oct 2011 18:16:49 +0000 (14:16 -0400)
commit4f191f3275dbe870320198086d40ea147669f809
tree61c8a5bea0636f9038103665ffb67573abb80bf9
parent3e06e26dd0b7fa065ae192010120289323ba33b6
Coverity fix: CID 121 NEGATIVE_RETURNS

* src/ui/TTY/objects-tty.c (tty_font_spec_matches_charset): make
sure length is updated by fixup_internal_substring.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/ui/TTY/objects-tty.c