uterm: vt: fix skipping real_activate() when being inactive
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:54:08 +0000 (13:54 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 11:54:08 +0000 (13:54 +0200)
commita24b2e54787958f187b6e51f25d90a525298e023
treeb36331caea8c746ac17129bda6b03751ff6a59f5
parent45c51695d958590fb9430f35adbc48f9db3e49dd
uterm: vt: fix skipping real_activate() when being inactive

This is probably a copy&paste error from real_deactivate(). We should skip
real_activate() if we are _active_, not if we are _inactive_.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_vt.c