summaryrefslogtreecommitdiff
path: root/app/cwm/screen.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2012-07-16 01:42:01 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2012-07-16 01:42:01 +0000
commitb54f9031ff7e2cca08b6c35f970deb20126ebaa1 (patch)
treec9f6012ff67bda2870745a2e5e749fe82bdbfbf8 /app/cwm/screen.c
parente4326ce3069cf4cf2f75ce3870ecd936cc24de83 (diff)
check value
Diffstat (limited to 'app/cwm/screen.c')
-rw-r--r--app/cwm/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c
index 1406c8870..d2118712b 100644
--- a/app/cwm/screen.c
+++ b/app/cwm/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 <sys/param.h>
@@ -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++) {