changeset 47:706bfe438e6f

Fix display of which page we just switched to (spare or front).
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jul 2018 18:05:37 +0300
parents 31bfa78dba15
children 33a63f851a3b
files events.pde
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/events.pde	Wed Jul 04 17:34:22 2018 +0300
+++ b/events.pde	Wed Jul 04 18:05:37 2018 +0300
@@ -692,8 +692,8 @@
 
     if (g_data[int('j')] == 1) {
         g_data[int('j')] = 0;
+        spare();
         message((g_spare ? "Spare" : "Front") + " Page");
-        spare();
         makecolor(259, g_r[g_map[0]], g_g[g_map[0]], g_b[g_map[0]]);
         g_boxreconstruct = 2;
     }