curses: Fix more.

Authored by gniibe on Jul 10 2019, 2:13 AM.

Description

curses: Fix more.

* pinentry/pinentry-curses.c (dialog_create): Reverting was not
enough.  Correctly check with the character at len - 1.
  • GnuPG-bug-id: T4598
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details