summaryrefslogtreecommitdiff
path: root/bsd-core/drm_drawable.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-07-22 09:51:34 +0100
committerEric Anholt <eric@anholt.net>2007-07-25 12:59:43 -0700
commitbe3099f26547f48066bbdd7a36578b54da9170b4 (patch)
treedeb67d712e020916ca1612d462657d450e17e593 /bsd-core/drm_drawable.c
parent7e6d08f670a55d79ee037144aa29104e4e8fc700 (diff)
Fix copy'n'paste-o in FreeBSD drawable code.
Diffstat (limited to 'bsd-core/drm_drawable.c')
-rw-r--r--bsd-core/drm_drawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_drawable.c b/bsd-core/drm_drawable.c
index 14a29407..7e038ab9 100644
--- a/bsd-core/drm_drawable.c
+++ b/bsd-core/drm_drawable.c
@@ -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;
}