components/pinentry/patches/000-pinentry-curses.c.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 17 Dec 2015 17:50:05 -0800
changeset 5213 68d34c2581d6
parent 303 cae844b2d132
permissions -rw-r--r--
Close of build 90.

--- pinentry/pinentry-curses.c	Thu Apr 16 08:06:53 2009
+++ pinentry/pinentry-curses.c	Mon Nov  9 08:23:40 2009
@@ -665,7 +665,7 @@
   if (has_colors ())
     {
       start_color ();
-      use_default_colors ();
+      /* use_default_colors (); */
 
       if (pinentry->color_so == PINENTRY_COLOR_DEFAULT)
 	{
@@ -741,7 +741,7 @@
 	    }
 	  break;
 
-	case '\t':
+	case '\011': /* HARD TAB */
 	  switch (diag.pos)
 	    {
 	    case DIALOG_POS_PIN:
@@ -767,11 +767,11 @@
 	    }
 	  break;
   
-	case '\e':
+	case '\005': /* ENQ */
 	  done = -2;
 	  break;
 
-	case '\r':
+	case '\015': /* CR */
 	  switch (diag.pos)
 	    {
 	    case DIALOG_POS_PIN: