repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b8de9
)
One tweak to avoid crash on negative cube num
author
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Sun, 11 Aug 2013 02:28:14 +0000
(19:28 -0700)
committer
Mark Slee
<mcslee@Mark-Slees-MacBook-Pro.local>
Sun, 11 Aug 2013 02:28:14 +0000
(19:28 -0700)
_Overlay.pde
patch
|
blob
|
blame
|
history
diff --git
a/_Overlay.pde
b/_Overlay.pde
index 5bafe290aee9ac51b03bf4c0ac6e4b04e5e63382..29e2353a8a0989627326d30c99947fab0662243a 100644
(file)
--- a/
_Overlay.pde
+++ b/
_Overlay.pde
@@
-744,7
+744,7
@@
class DebugUI {
boolean first = true;
int cubeNum = 0;
for (int cube : channel) {
- if (cube
=
= 0) {
+ if (cube
<
= 0) {
break;
}
xPos += debugXSpacing;