changeset 180:48bb77ae9f40

int() fix.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Aug 2018 13:12:19 +0300
parents 934934bb1fbb
children b8be804f1052
files events.pde
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/events.pde	Thu Aug 23 13:11:47 2018 +0300
+++ b/events.pde	Thu Aug 23 13:12:19 2018 +0300
@@ -695,7 +695,7 @@
             g_data[ckey] = 0;
         }
 
-        if (g_data['t'] == 1 && ckey == 't')
+        if (g_data[int('t')] == 1 && ckey == 't')
             message("Tile mode");
 
         if (ckey == 'n' && g_data[int('n')] == 1)