Fixed crash with password recovery and bottom text

SVN revision: 2198
This commit is contained in:
Stefan Ritt 2009-05-07 06:04:26 +00:00
parent ff262e0319
commit 4ef3a2fad1

View File

@ -7882,6 +7882,8 @@ void show_bottom_text(LOGBOOK * lbs)
char str[NAME_LENGTH], slist[20][NAME_LENGTH], svalue[20][NAME_LENGTH];
int i, size;
if (lbs == NULL)
return;
if (getcfg(lbs->name, "bottom text", str, sizeof(str))) {
FILE *f;
char file_name[256], *buf;