aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorokan2012-07-16 01:42:00 +0000
committerokan2012-07-16 01:42:00 +0000
commitc14087d743b405f31a464bdf0bd6848247e84719 (patch)
tree69d96c8c7863e4e2dff2f3c973b0a3add091d011 /screen.c
parent0028e7f2207c1220483265cff3c23a6228e37d82 (diff)
downloadcwm-c14087d743b405f31a464bdf0bd6848247e84719.tar.gz
check value
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files 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 <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++) {