Did the same for "top text"

SVN revision: 1604
This commit is contained in:
Stefan Ritt 2006-01-16 16:34:06 +00:00
parent b1b9e71797
commit 5bcba1940e

View File

@ -6976,7 +6976,7 @@ void show_top_text(LOGBOOK * lbs)
char str[NAME_LENGTH]; char str[NAME_LENGTH];
int size; int size;
if (getcfg(lbs->name, "top text", str, sizeof(str))) { if (getcfg(lbs->name, "top text", str, sizeof(str)) && str[0]) {
FILE *f; FILE *f;
char file_name[256], *buf; char file_name[256], *buf;