diff options
Diffstat (limited to 'navit')
-rw-r--r-- | navit/navit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navit.c b/navit/navit.c index d3ef113f5..f01c9efcd 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -1806,7 +1806,7 @@ static int navit_former_destinations_active(struct navit *this_) { if (destination_file) { while(fgets(lastline, sizeof(lastline), destination_file)); fclose(destination_file); - if ((lastline != NULL) && (strcmp(lastline, TEXTFILE_COMMENT_NAVI_STOPPED))) { + if (strcmp(lastline, TEXTFILE_COMMENT_NAVI_STOPPED)) { active=1; } } |