diff options
author | Gary E. Miller <gem@rellim.com> | 2018-09-22 15:56:41 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-09-22 15:56:41 -0700 |
commit | 720413b5c07fd8edf9a564e115d01183e92592bc (patch) | |
tree | bd639647ed670a3df274c44ce6fb82a180890f9e /cgps.c | |
parent | de957399546288a56619a8f769a6399eaa215757 (diff) | |
download | gpsd-720413b5c07fd8edf9a564e115d01183e92592bc.tar.gz |
cgps: fix the bottom line, again.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -617,7 +617,7 @@ static void update_gps_panel(struct gps_data_t *gpsdata, char *message) (void)mvwprintw(satellites, sat_no + 2, 1, "%s", "More..."); } else { /* Clear old data from the unused lines at bottom. */ - for ( ; sat_no <= display_sats; sat_no++) { + for ( ; sat_no < display_sats; sat_no++) { (void)mvwprintw(satellites, sat_no + 2, 1, "%-*s", SATELLITES_WIDTH - 3, ""); } |