mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with EPS previews in list display
SVN revision: 2154
This commit is contained in:
parent
35d13c21c9
commit
fbc419c45b
@ -17284,7 +17284,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
|
||||
} else {
|
||||
rsprintf("<a name=\"att%d\" href=\"%s\">\n", index + 1, ref);
|
||||
strlcpy(str, ref, sizeof(str));
|
||||
if (chkext(str, ".pdf") || chkext(str, ".ps") | chkext(str, ".eps"))
|
||||
if (chkext(str, ".pdf") || chkext(str, ".ps"))
|
||||
if (strrchr(str, '.'))
|
||||
*strrchr(str, '.') = 0;
|
||||
strlcat(str, ".png", sizeof(str));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user