Fixed problem with empty bottom text

SVN revision: 1603
This commit is contained in:
Stefan Ritt 2006-01-16 16:32:51 +00:00
parent 1b8c197a51
commit b1b9e71797

View File

@ -7016,6 +7016,7 @@ void show_bottom_text(LOGBOOK * lbs)
FILE *f; FILE *f;
char file_name[256], *buf; char file_name[256], *buf;
if (str[0]) {
/* check if file starts with an absolute directory */ /* check if file starts with an absolute directory */
if (str[0] == DIR_SEPARATOR || str[1] == ':') if (str[0] == DIR_SEPARATOR || str[1] == ':')
strcpy(file_name, str); strcpy(file_name, str);
@ -7038,6 +7039,7 @@ void show_bottom_text(LOGBOOK * lbs)
rsputs(buf); rsputs(buf);
} else } else
rsputs(str); rsputs(str);
}
} else } else
/* add little logo */ /* add little logo */
rsprintf rsprintf