projects
/
eltron.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better error reporting on MacOSX, remember to System.exit(0)
[eltron.git]
/
src
/
com
/
megacz
/
eltron
/
MailingLabel.java
diff --git
a/src/com/megacz/eltron/MailingLabel.java
b/src/com/megacz/eltron/MailingLabel.java
index
641abd7
..
575fbf8
100644
(file)
--- a/
src/com/megacz/eltron/MailingLabel.java
+++ b/
src/com/megacz/eltron/MailingLabel.java
@@
-40,6
+40,9
@@
public class MailingLabel {
for(int y=0; y<img.getHeight(null); y++)
data[x+y*img.getWidth(null)] = img.getRGB(x, y);
Eltron.print(data, img.getWidth(null), img.getHeight(null));
+
+ // RXTX spawns a thread that never dies
+ System.exit(0);
}
}