changeset 241:9b715f7489b2

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Sep 2018 12:36:19 +0300
parents aaebdac6a555
children 7401300452c2
files mpui.js multipaint.pde
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpui.js	Mon Sep 10 11:51:40 2018 +0300
+++ b/mpui.js	Tue Sep 11 12:36:19 2018 +0300
@@ -303,10 +303,12 @@
   {
     var sargs = unescape(slink.substr(spos + 1)).split(":");
     mpURL = slink.substr(0, spos);
-    found = true;
 
     if (sargs.length >= 1)
+    {
       mpMachine = parseInt(sargs[0]);
+      found = true;
+    }
 
     if (sargs.length >= 3)
     {
--- a/multipaint.pde	Mon Sep 10 11:51:40 2018 +0300
+++ b/multipaint.pde	Tue Sep 11 12:36:19 2018 +0300
@@ -281,7 +281,6 @@
     makecolor(261, 0, 255, 0);
     makecolor(262, 0, 0, 255);
     makecolor(263, 48, 48, 48); //backest UI background
-
 }