On Wed, 16 Oct 2002, Sottek, Matthew J wrote:

This proof-reader suggests:
        sed -e s/temp/tv_htotal/g

> File : xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c
>     Somewhere near line 1522
>  
>      unsigned int lcdtv_c=0;
>      unsigned int tv_htotal=0;
>   
>      /* OVRACT Register */
>      lcdtv_c = INREG(0x60018);
>      tv_htotal = INREG(0x60000);
>  
>      if((lcdtv_c & 0x80000000) &&
>         (~lcdtv_c & 0x20000000) &&
>         (tv_htotal)) {
>        i810Reg->OverlayActiveStart = (temp>>16) - 31; 
                                        ^^^^
>        i810Reg->OverlayActiveEnd = (temp & 0x3ff) - 31;
                                      ^^^^
>      } else {
>        i810Reg->OverlayActiveStart = mode->CrtcHTotal - 32; 
>        i810Reg->OverlayActiveEnd = mode->CrtcHDisplay - 32; 
>      }



-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to