summaryrefslogtreecommitdiff
path: root/math/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/math.c')
-rw-r--r--math/math.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/math.c b/math/math.c
index 0f00140..d3f5ebd 100644
--- a/math/math.c
+++ b/math/math.c
@@ -150,8 +150,8 @@ pr_opts(struct meta *mp)
} *op, o[] = {
{ mp->html, "HTML", "htmlicon.gif", 'h', "View HTML version" },
{ mp->pdf, "PDF", "pdficon.gif", 'p', "View as PDF" },
- { mp->mws, "MWS", "mwicon.gif", 's', "Download Maple classic worksheet" },
{ mp->mw, "MW", "mwicon.gif", 'm', "Download Maple worksheet" },
+ { mp->mws, "MWS", "mwsicon.gif", 's', "Download Maple classic worksheet" },
{ mp->code, "CODE", "codeicon.gif", 'c', "Download Maple code" },
{ mp->email, "EMAIL", "emailicon.gif", 'e', "E-mail to a colleague" },
{ NULL, NULL, NULL, 0, NULL }
@@ -160,9 +160,9 @@ pr_opts(struct meta *mp)
puts("<p class=\"options\">");
for (op = o; op->str != NULL; ++op) {
if (*op->str != '\0') {
- printf("<a href=\"%s?id=%u&amp;jump=%c\">", sname, mp->id, op->trg);
- printf("<img alt=\"%s\" src=\"/%s/%s\" /> ", op->alt, "images", op->img);
- printf("%s</a><br />\n", op->dsc);
+ printf("<img alt=\"%s\" src=\"/%s/%s\" />\n", op->alt, "images", op->img);
+ printf("<a href=\"%s?id=%u&amp;jump=%c\">%s</a>", sname, mp->id, op->trg, op->dsc);
+ puts("<br />");
}
}
puts("</p>");