changeset 63:b87192212b9a

Delete dead function convcalc_monotab_attr(int parms)
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Jul 2011 11:58:24 +0300
parents 0e2d7767c00d
children c272f66c5eb8
files pwplib/attrconv.c
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/pwplib/attrconv.c	Sat Jul 09 11:57:54 2011 +0300
+++ b/pwplib/attrconv.c	Sat Jul 09 11:58:24 2011 +0300
@@ -146,26 +146,6 @@
   memset(pwpconv.col,(parms&1)?0x00:0x07,256*sizeof(u8));
 }
 
-static void convcalc_monotab_attr(int parms)
-{
-   static const u8 attrmo[2][2]=  /* &1: 0=ansicol_dump, 1=vt_dump */
-   {
-      { 0x00,0x01 },
-      { 0x07,0x70 }
-   };
-
-   static const char intens[16]=
-   {
-       0,1,6,7, 3,4,9,10,
-       1,2,9,10,5,6,13,15
-   };
-
-   int i;
-   for(i = 0; i < 256; i++)
-     pwpconv.col[i]=
-      attrmo[parms&1][intens[i&15]>intens[(i>>4)&15]?0:1];
-}
-
 void convcalc_colortab(int parms)
 {
   int i;