Home GnuPG

tty: Refactor usage of tolower.
aa969a09a122Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tty: Refactor usage of tolower.

* tty/pinentry-tty.c (button): Apply tolower to the result.
* tty/pinentry-tty.c (confirm): Compare lowercased character instead of
converting them every time.

gniibe changed the original patch to keep output to TTY.

Details

Provenance
Ineiev <ineiev@gnu.org>Authored on Apr 8 2016, 2:17 PM
gniibeCommitted on Oct 3 2016, 8:12 AM
Parents
rP4c5ae72d481f: curses: Return better error codes for bad ttynames
Branches
Unknown
Tags
Unknown