changeset 10:80380099f1ad

Check for characters < 32 in drawchar() because 32 is deducted from the value.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jul 2018 08:57:43 +0300
parents dfdc18b62fab
children c1667eb54808
files Interface.pde
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Interface.pde	Wed Jul 04 08:55:48 2018 +0300
+++ b/Interface.pde	Wed Jul 04 08:57:43 2018 +0300
@@ -452,6 +452,7 @@
     //characters at the help box
     int ad, cad, x, y, xx, yy, far;
     far = 0xff000000;
+    if (t < 32) return;
     t = t - 32;
     yy = int(t / 32);
     xx = t - yy * 32;