projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe00d11
)
altoslib: capitalize 'Invalid' state name appropriately
author
Keith Packard
<keithp@keithp.com>
Tue, 23 Oct 2012 04:36:12 +0000
(21:36 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 23 Oct 2012 04:36:12 +0000
(21:36 -0700)
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>
altoslib/AltosLib.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosLib.java
b/altoslib/AltosLib.java
index 192c445e0c42dabe2b9e3c42a209fe8843e9269c..07516aebd389fe3af4fcac245ffb42fa25ef8b1c 100644
(file)
--- 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)
public static String state_name_capital(int state) {
if (state < 0 || state_to_string.length <= state)
- return "
i
nvalid";
+ return "
I
nvalid";
return state_to_string_capital[state];
}
return state_to_string_capital[state];
}