]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libmemlayer/line.c
nusb/kb: correct Mod4 scancode (125 → 91, to match what kbdfs has)
[plan9front.git] / sys / src / libmemlayer / line.c
old mode 100755 (executable)
new mode 100644 (file)
index 8c09a53..2dc52aa
@@ -65,11 +65,6 @@ _memline(Memimage *dst, Point p0, Point p1, int end0, int end1, int radius, Memi
                goto Top;
        }
 
-       /* XXX */
-       /* this is not the correct set of tests */
-//     if(log2[dst->depth] != log2[src->depth] || log2[dst->depth]!=3)
-//             return;
-
        /* can't use sutherland-cohen clipping because lines are wide */
        r = memlinebbox(p0, p1, end0, end1, radius);
        /*