From a400e9001df62f6d861aa57d045a58db6cf4acdc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 27 Apr 2026 04:31:44 -0400 Subject: DERP! if(x = y), should be == of course. and cc65 doesn't warn for it like gcc does... --- src/pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3