mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed crash with password recovery and bottom text
SVN revision: 2198
This commit is contained in:
parent
ff262e0319
commit
4ef3a2fad1
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user