summaryrefslogtreecommitdiff
path: root/xgpsspeed.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-03-30 16:18:16 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-03-30 16:18:16 -0400
commit8e556eec6477b65dc32eff7e685ae83028bd418a (patch)
treee70f27d6b5ece6508ce9b30f251e5282d7f7f226 /xgpsspeed.c
parent4044f1bffb8e146dd984a5f866ad61191f6b658a (diff)
downloadgpsd-8e556eec6477b65dc32eff7e685ae83028bd418a.tar.gz
Using WATCH_NEWSTYLE makes a poor example now that NEWSTYLE is the default.
Diffstat (limited to 'xgpsspeed.c')
-rw-r--r--xgpsspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgpsspeed.c b/xgpsspeed.c
index c9b7d622..81d7e2d1 100644
--- a/xgpsspeed.c
+++ b/xgpsspeed.c
@@ -176,7 +176,7 @@ int main(int argc, char **argv)
gps_set_raw_hook(gpsdata, update_display);
- (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL);
+ (void)gps_stream(gpsdata, WATCH_ENABLE, NULL);
(void)XtAppMainLoop(app);