print_flags: fix trivial thinko
vi: fix reversed checks for underflow

2 files changed