diff options
author | Keith Packard <keithp@keithp.com> | 2000-09-03 05:11:46 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2000-09-03 05:11:46 +0000 |
commit | c97fb611dd7dedef6d075ef9d56f3d32c8018d39 (patch) | |
tree | 92dbb45f2e31b7ab709255d2d07a606f466c1a38 /hw/kdrive/trident/tridentcurs.c | |
parent | 38059656849a5bab5b56b23359a90aca4ba396c7 (diff) |
Rework vesa driver for shadowing and multiple screen support. Allow enable
to fail and avoid crashing
Diffstat (limited to 'hw/kdrive/trident/tridentcurs.c')
-rw-r--r-- | hw/kdrive/trident/tridentcurs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/trident/tridentcurs.c b/hw/kdrive/trident/tridentcurs.c index 8daa5fe9f..6941778ea 100644 --- a/hw/kdrive/trident/tridentcurs.c +++ b/hw/kdrive/trident/tridentcurs.c @@ -21,7 +21,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ -/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentcurs.c,v 1.4 2000/05/06 22:17:51 keithp Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentcurs.c,v 1.5 2000/08/29 17:20:15 keithp Exp $ */ #include "trident.h" #include "cursorstr.h" @@ -221,7 +221,7 @@ tridentLoadCursor (ScreenPtr pScreen, int x, int y) } /* Set address for cursor bits */ - offset = tridents->cursor_base - (CARD8 *) tridentc->screen; + offset = tridents->cursor_base - (CARD8 *) tridents->screen; offset >>= 10; tridentWriteIndex (tridentc, 0x3d4, 0x44, (CARD8) (offset & 0xff)); tridentWriteIndex (tridentc, 0x3d4, 0x45, (CARD8) (offset >> 8)); |