summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-07-26 23:02:07 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-07-26 23:02:07 +0000
commit917a2249b787451cad3f9697872aeccfd0da3324 (patch)
treeac08a9aad4a204cbe4e53bb73d3ce2ba5ee79f55
parent509f8fc3e3d6290013e6106c7ed66048c5e78d6e (diff)
$OpenBSD$ and compare width to width, not width to height
-rw-r--r--app/video/video.11
-rw-r--r--app/video/video.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/app/video/video.1 b/app/video/video.1
index bef3110d3..98029c65f 100644
--- a/app/video/video.1
+++ b/app/video/video.1
@@ -1,3 +1,4 @@
+.\" $OpenBSD: video.1,v 1.3 2010/07/26 23:02:06 jakemsr Exp $
.\"
.\" Copyright (c) 2010 Jacob Meuser <jakemsr@openbsd.org>
.\"
diff --git a/app/video/video.c b/app/video/video.c
index bf7659a21..a0f6ce93b 100644
--- a/app/video/video.c
+++ b/app/video/video.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: video.c,v 1.4 2010/07/26 23:02:06 jakemsr Exp $ */
/*
* Copyright (c) 2010 Jacob Meuser <jakemsr@openbsd.org>
*
@@ -767,7 +768,7 @@ dev_get_sizes(struct video *vid)
for (j = 0; j < d->nsizes; j++) {
if (sizes[i].w < d->sizes[j].w)
break;
- if (sizes[i].w == d->sizes[j].h) {
+ if (sizes[i].w == d->sizes[j].w) {
if (sizes[i].h < d->sizes[j].h)
break;
}