diff options
| author | zavok <an2qzavok@gmail.com> | 2016-02-07 16:40:57 +0300 | 
|---|---|---|
| committer | zavok <an2qzavok@gmail.com> | 2016-02-07 16:40:57 +0300 | 
| commit | ef83430f3a5f205f3bf59c9fd271b71d6b5e1f28 (patch) | |
| tree | 2b798c8a9a0dfba9c052a7e2932659087bf1a7fe | |
| parent | 682a9649bd0371d7c1554ecbd38954dc0b9299af (diff) | |
actually clean up text on unsuccesful pass input
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | spine.c | 3 | 
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@  /* See LICENSE file for copyright and license details. */  static Bool topbar = True;  static const char *fonts[]={ -	"monospace:size=8" +	"Dejavu Sans Mono:size=10"  };  static char *secchar = "*";  /*static char *description = NULL; @@ -335,6 +335,7 @@ confirm(void) {  static int  spinecmdhandler (pinentry_t recieved_pinentry) { +	text[0]='\0';  	pinentry = recieved_pinentry;  	if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) @@ -375,4 +376,4 @@ main(int argc, char *argv[]){  	if (pinentry_loop())  		return 1;  	return 0; -}
\ No newline at end of file +}  | 
