diff options
author | David 'Digit' Turner <digit@android.com> | 2010-10-26 19:41:22 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-10-26 19:41:22 -0700 |
commit | a7d793d3f2a59681d92585c12cccee4bbc1cfe0d (patch) | |
tree | 918a9413a2e131e802d5f94d9ec5827adf3ea960 | |
parent | a52dba6f99397568ca844b5cc18e1cf14d787e1b (diff) | |
parent | 631f2555ed2b50a07ea19eaefa495a028ab1991a (diff) | |
download | external_qemu-a7d793d3f2a59681d92585c12cccee4bbc1cfe0d.zip external_qemu-a7d793d3f2a59681d92585c12cccee4bbc1cfe0d.tar.gz external_qemu-a7d793d3f2a59681d92585c12cccee4bbc1cfe0d.tar.bz2 |
Merge "Fix invalid "geo fix" formatting bug."
-rw-r--r-- | android/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/console.c b/android/console.c index 3db9b30..af22fc6 100644 --- a/android/console.c +++ b/android/console.c @@ -2105,7 +2105,7 @@ do_geo_fix( ControlClient client, char* args ) deg = (int) val; val = 60*(val - deg); min = (int) val; - val = 1000*(val - min); + val = 10000*(val - min); stralloc_add_format( s, ",%02d%02d.%04d,%c", deg, min, (int)val, hemi ); /* the longitude */ @@ -2118,7 +2118,7 @@ do_geo_fix( ControlClient client, char* args ) deg = (int) val; val = 60*(val - deg); min = (int) val; - val = 1000*(val - min); + val = 10000*(val - min); stralloc_add_format( s, ",%02d%02d.%04d,%c", deg, min, (int)val, hemi ); /* bogus fix quality, satellite count and dilution */ |