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/AltosAccel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'altoslib/AltosAccel.java') diff --git a/altoslib/AltosAccel.java b/altoslib/AltosAccel.java index af8c36b9..d02b3238 100644 --- a/altoslib/AltosAccel.java +++ b/altoslib/AltosAccel.java @@ -37,7 +37,7 @@ public class AltosAccel extends AltosUnits { return "meters per second squared"; } - int show_fraction(int width) { + public int show_fraction(int width) { return width / 9; } } \ No newline at end of file -- cgit v1.2.3