From a5fb03421751b342dcd450caee49a608d8828175 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 10 Feb 2013 00:32:26 -0800 Subject: altoslib: Fix a couple of unit functions to make them public Nice to be able to use these outside of altoslib Signed-off-by: Keith Packard --- altoslib/AltosSpeed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'altoslib/AltosSpeed.java') diff --git a/altoslib/AltosSpeed.java b/altoslib/AltosSpeed.java index 020c1377..6fb624fb 100644 --- a/altoslib/AltosSpeed.java +++ b/altoslib/AltosSpeed.java @@ -37,7 +37,7 @@ public class AltosSpeed extends AltosUnits { return "meters per second"; } - int show_fraction(int width) { + public int show_fraction(int width) { return width / 9; } } \ No newline at end of file -- cgit v1.2.3