]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/vgai81x.c
kernel: cleanup the software mouse cursor mess
[plan9front.git] / sys / src / 9 / pc / vgai81x.c
index 735f33915a9ea99ec57a1850134ff8cf3f32d5fd..f0e6ae933bc524ead8c9d7d1f691ca50dcd2ea24 100644 (file)
@@ -55,7 +55,6 @@ i81xenable(VGAscr* scr)
 {
        Pcidev *p;
        int size;
-       Mach *mach0;
        ulong *pgtbl, *rp, fbuf, fbend;
        
        if(scr->mmio)
@@ -211,7 +210,7 @@ i81xcurenable(VGAscr* scr)
        /*
         * Load, locate and enable the 32x32 cursor in 2bpp mode.
         */
-       i81xcurload(scr, &arrow);
+       i81xcurload(scr, &cursor);
        i81xcurmove(scr, ZP);
 }