From c14087d743b405f31a464bdf0bd6848247e84719 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 16 Jul 2012 01:42:00 +0000 Subject: check value --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen.c b/screen.c index 1406c88..d211871 100644 --- a/screen.c +++ b/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.34 2012/07/16 01:36:31 okan Exp $ + * $OpenBSD: screen.c,v 1.35 2012/07/16 01:42:00 okan Exp $ */ #include @@ -105,7 +105,7 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y) XineramaScreenInfo *info; int i; - if (HasXinerama = 0) + if (HasXinerama == 0) return (NULL); for (i = 0; i < sc->xinerama_no; i++) { -- cgit v1.2.3-2-gb3c3