Annotation of pkgsrc/lang/python39/patches/patch-Modules___cursesmodule.c, revision 1.1

1.1     ! wiz         1: $NetBSD$
        !             2: 
        !             3: NetBSD curses compatibility.
        !             4: 
        !             5: --- Modules/_cursesmodule.c.orig       2021-11-15 17:43:00.000000000 +0000
        !             6: +++ Modules/_cursesmodule.c
        !             7: @@ -1077,8 +1077,8 @@ PyCursesWindow_ChgAt(PyCursesWindowObjec
        !             8:          return NULL;
        !             9:      }
        !            10:  
        !            11: -    color = (short)((attr >> 8) & 0xff);
        !            12: -    attr = attr - (color << 8);
        !            13: +    color = (short) PAIR_NUMBER(attr);
        !            14: +    attr = attr & A_ATTRIBUTES;
        !            15:  
        !            16:      if (use_xy) {
        !            17:          rtn = mvwchgat(self->win,y,x,num,attr,color,NULL);

CVSweb <webmaster@jp.NetBSD.org>