mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-10-01 05:05:19 +00:00
Fixed problem with empty bottom text
SVN revision: 1603
This commit is contained in:
parent
1b8c197a51
commit
b1b9e71797
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user