aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pool.c b/src/pool.c
index de79997..e8b27b2 100644
--- a/src/pool.c
+++ b/src/pool.c
@@ -50,7 +50,7 @@ char get_smallest_pool(void) {
r = 0;
for(p = 0; p < MAX_POOLS; p++) {
- if(pools[p].screen_count = POOL_UNUSED)
+ if(pools[p].screen_count == POOL_UNUSED)
continue; /* maybe break here instead */
if(pools[p].screen_count < min) {
min = pools[p].screen_count;