summaryrefslogtreecommitdiff
path: root/xgps.c
diff options
context:
space:
mode:
Diffstat (limited to 'xgps.c')
-rw-r--r--xgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgps.c b/xgps.c
index f4b4ddab..d2aacf00 100644
--- a/xgps.c
+++ b/xgps.c
@@ -882,7 +882,7 @@ update_panel(struct gps_data_t *gpsdata, char *message,
char s[128], *latlon, *sp;
/* this is where we implement source-device filtering */
- if (gpsdata->dev.path[0] && source.device!=NULL && strcmp(source.device, gpsdata->dev.path) != 0)
+ if (gpsdata->dev.path[0]!='\0' && source.device!=NULL && strcmp(source.device, gpsdata->dev.path) != 0)
return;
/* the raw data sisplay */