diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-22 21:36:12 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-22 21:36:12 -0700 |
commit | 20496608ca287e65302193ee1afe9f0cad3a36e1 (patch) | |
tree | 1e5beb49304d3702ec47bd877b97e2ccb152f990 /altoslib/AltosLib.java | |
parent | fe00d1169c65cb289f77093cf281efbd0a5d4e64 (diff) |
altoslib: capitalize 'Invalid' state name appropriately
It shouldn't ever appear, but it seemed wrong to have it not match the
rest of the strings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosLib.java')
-rw-r--r-- | altoslib/AltosLib.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosLib.java b/altoslib/AltosLib.java index 192c445e..07516aeb 100644 --- a/altoslib/AltosLib.java +++ b/altoslib/AltosLib.java @@ -199,7 +199,7 @@ public class AltosLib { public static String state_name_capital(int state) { if (state < 0 || state_to_string.length <= state) - return "invalid"; + return "Invalid"; return state_to_string_capital[state]; } |