From 366792f7f625eaca818759cb2314b686c91af88c Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 23 Feb 2018 12:27:43 +0000 Subject: [PATCH] randomcache: Typo in randomcache_refill g_random_cache_low > high_plus_one didn't update g_random_cache_high. --- exosphere/randomcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exosphere/randomcache.c b/exosphere/randomcache.c index 675b64581..e9e50ecbc 100644 --- a/exosphere/randomcache.c +++ b/exosphere/randomcache.c @@ -52,7 +52,7 @@ void randomcache_refill(void) { } } else { /* g_random_cache_low > high_plus_one */ randomcache_refill_segment(high_plus_one, g_random_cache_low - high_plus_one); - g_random_cache_high - g_random_cache_low - 1; + g_random_cache_high = g_random_cache_low - 1; } } }