summaryrefslogtreecommitdiff
path: root/spine.c
diff options
context:
space:
mode:
Diffstat (limited to 'spine.c')
-rw-r--r--spine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/spine.c b/spine.c
index 0466985..0836ab0 100644
--- a/spine.c
+++ b/spine.c
@@ -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
+}