From: Keith Packard Date: Tue, 23 Oct 2012 04:36:12 +0000 (-0700) Subject: altoslib: capitalize 'Invalid' state name appropriately X-Git-Tag: 1.1.9.2~22^2~8 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=20496608ca287e65302193ee1afe9f0cad3a36e1;ds=sidebyside 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 --- 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]; }