Fixed problem with EPS previews in list display

SVN revision: 2154
This commit is contained in:
2008-12-10 10:21:36 +00:00
parent 35d13c21c9
commit fbc419c45b
+1 -1
View File
@@ -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));