actually clean up text on unsuccesful pass input
This commit is contained in:
parent
682a9649bd
commit
ef83430f3a
2 changed files with 3 additions and 2 deletions
2
config.h
2
config.h
|
@ -1,7 +1,7 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
static Bool topbar = True;
|
static Bool topbar = True;
|
||||||
static const char *fonts[]={
|
static const char *fonts[]={
|
||||||
"monospace:size=8"
|
"Dejavu Sans Mono:size=10"
|
||||||
};
|
};
|
||||||
static char *secchar = "*";
|
static char *secchar = "*";
|
||||||
/*static char *description = NULL;
|
/*static char *description = NULL;
|
||||||
|
|
1
spine.c
1
spine.c
|
@ -335,6 +335,7 @@ confirm(void) {
|
||||||
|
|
||||||
static int
|
static int
|
||||||
spinecmdhandler (pinentry_t recieved_pinentry) {
|
spinecmdhandler (pinentry_t recieved_pinentry) {
|
||||||
|
text[0]='\0';
|
||||||
pinentry = recieved_pinentry;
|
pinentry = recieved_pinentry;
|
||||||
|
|
||||||
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
||||||
|
|
Loading…
Reference in a new issue