From cb3a65b097970623a5dcb78841de4c19b9a30b09 Mon Sep 17 00:00:00 2001 From: Roland Baer Date: Tue, 31 Jul 2007 13:45:04 +0300 Subject: [PATCH] Removed useless test --- src/screen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/screen.c b/src/screen.c index a2b2850..15458f7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1189,7 +1189,7 @@ getDesktopHints (CompScreen *s) memcpy (data, propData, sizeof (unsigned long)); XFree (propData); - if (data[0] >= 0 && data[0] < s->nDesktop) + if (data[0] < s->nDesktop) s->currentDesktop = data[0]; } -- 1.5.2.3