summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7bdd0de)
Signed-off-by: Keith Packard <keithp@keithp.com>
void show(double v) {
this.v = v;
void show(double v) {
this.v = v;
- show(units.show(8, v));
+ if (v == AltosLib.MISSING)
+ show("Missing");
+ else
+ show(units.show(8, v));
}
void show(String format, double v) {
}
void show(String format, double v) {
- show(String.format(format, v));
+ if (v == AltosLib.MISSING)
+ show("Missing");
+ else
+ show(String.format(format, v));
}
public void font_size_changed(int font_size) {
}
public void font_size_changed(int font_size) {
void show(double v) {
this.v = v;
void show(double v) {
this.v = v;
- show(units.show(8, v));
+ if (v == AltosLib.MISSING)
+ show("Missing");
+ else
+ show(units.show(8, v));
}
void show(String format, double v) {
}
void show(String format, double v) {