projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Export ao_fat_sync and ao_fat_full functions
[fw/altos]
/
altosui
/
AltosInfoTable.java
diff --git
a/altosui/AltosInfoTable.java
b/altosui/AltosInfoTable.java
index c06f57eca3f155281f6eb6a940cb74f6a8fee53b..2facf38ae21f76f95a6a9005804840f846eae321 100644
(file)
--- a/
altosui/AltosInfoTable.java
+++ b/
altosui/AltosInfoTable.java
@@
-85,15
+85,15
@@
public class AltosInfoTable extends JTable {
}
void info_add_deg(int col, String name, double v, int pos, int neg) {
}
void info_add_deg(int col, String name, double v, int pos, int neg) {
-
//int
c = pos;
+
int
c = pos;
if (v < 0) {
if (v < 0) {
-
//
c = neg;
+ c = neg;
v = -v;
}
double deg = Math.floor(v);
double min = (v - deg) * 60;
v = -v;
}
double deg = Math.floor(v);
double min = (v - deg) * 60;
- info_add_row(col, name, String.format("%
3.0f°%08.5f'"
, deg, min));
+ info_add_row(col, name, String.format("%
c %3.0f°%08.5f'", c
, deg, min));
}
void info_finish() {
}
void info_finish() {