Fix copy'n'paste-o in FreeBSD drawable code.
authorEric Anholt <eric@anholt.net>
Sun, 22 Jul 2007 08:51:34 +0000 (09:51 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 25 Jul 2007 19:59:43 +0000 (12:59 -0700)
bsd-core/drm_drawable.c

index 14a29407e091600cf1135756d8ee97c510037064..7e038ab9ce97e7fd8428cd2713a233f297fe9902 100644 (file)
@@ -45,7 +45,7 @@ drm_drawable_compare(struct bsd_drm_drawable_info *a,
 {
        if (a->handle > b->handle)
                return 1;
-       if (a->handle > b->handle)
+       if (a->handle < b->handle)
                return -1;
        return 0;
 }