Mercurial > hg > forks > multipaint-js
changeset 15:1f6a84cbd42e
Remove the use of 'debugger' variable, as it is reserved in Javascript.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jul 2018 09:55:10 +0300 |
parents | cecc594d1559 |
children | f356d9c176a6 |
files | events.pde multipaint.pde |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/events.pde Wed Jul 04 09:48:33 2018 +0300 +++ b/events.pde Wed Jul 04 09:55:10 2018 +0300 @@ -802,7 +802,7 @@ } } - if (machine == SPECTRUM && debugger == 1) { + if (machine == SPECTRUM) { if (g_data[int('i')] == 1) { g_data[int('i')] = 0; if (g_iconmode == 0) {
--- a/multipaint.pde Wed Jul 04 09:48:33 2018 +0300 +++ b/multipaint.pde Wed Jul 04 09:55:10 2018 +0300 @@ -12,7 +12,6 @@ //-1 & -1 for normal operation int machine = -1; // change this to autoselect -int debugger = -1; final int COMMAND = 157; // Marq's cmd/ctrl solution @@ -134,7 +133,7 @@ g_hedge = 32 * g_uizoom; g_vedge = 32 * g_uizoom; - if (machine == -1 || debugger == 0) { + if (machine == -1) { if (gui) { try { UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");