diff options
Diffstat (limited to 'xgps.c')
-rw-r--r-- | xgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |