Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176763 - Please, add color patch to pinentry-curses 0.7.2
Summary: Please, add color patch to pinentry-curses 0.7.2
Status: VERIFIED DUPLICATE of bug 176758
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 05:54 UTC by vyp08
Modified: 2007-05-02 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vyp08 2007-05-02 05:54:28 UTC
Please, if possible, add color patch to pinentry-curses 0.7.2:

--- pinentry/pinentry-curses.c.orig     2003-12-22 15:48:38.000000000 +0300
+++ pinentry/pinentry-curses.c  2007-04-29 18:52:39.000000000 +0400
@@ -584,9 +584,10 @@
   if (has_colors ())
     {
       start_color ();
+      use_default_colors();

       if (COLOR_PAIRS >= 1)
-       init_pair (1, COLOR_RED, COLOR_BLACK);
+       init_pair (1, COLOR_RED, -1);
     }

   /* XXX */

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-02 07:09:44 UTC

*** This bug has been marked as a duplicate of bug 176758 ***