@@ -1069,7 +1069,7 @@ void printheaders (FILE *fp, struct emailinfo *email)
1069
1069
d_index = MSG_EXPIRED ;
1070
1070
if (email -> is_deleted == 4 || email -> is_deleted == 8 )
1071
1071
d_index = MSG_FILTERED_OUT ;
1072
- fprintf (fp , "<a name=\"start\" accesskey=\"j\" id=\"start\"></a>" );
1072
+ fprintf (fp , "<a name=\"start%d \" accesskey=\"j\" id=\"start\"></a>" , email -> msgnum );
1073
1073
fprintf (fp , "<p>%s</p>\n" , lang [d_index ]); /* AUDIT biege: No more warnings about format-bug */
1074
1074
return ;
1075
1075
}
@@ -1164,14 +1164,14 @@ void printbody(FILE *fp, struct emailinfo *email, int maybe_reply, int is_reply)
1164
1164
d_index = MSG_EXPIRED ;
1165
1165
if (email -> is_deleted == 4 || email -> is_deleted == 8 )
1166
1166
d_index = MSG_FILTERED_OUT ;
1167
- fprintf (fp , "<a name=\"start\" accesskey=\"j\" id=\"start\"></a>" );
1167
+ fprintf (fp , "<a name=\"start%d \" accesskey=\"j\" id=\"start\"></a>" , email -> msgnum );
1168
1168
fprintf (fp , "<p>%s</p>\n" , lang [d_index ]); /* AUDIT biege: No more warnings about format-bug */
1169
1169
return ;
1170
1170
}
1171
1171
1172
1172
if (!set_showhtml ) {
1173
1173
fprintf (fp , "<pre id=\"body\">\n" );
1174
- fprintf (fp , "<a name=\"start\" accesskey=\"j\" id=\"start\"></a>" );
1174
+ fprintf (fp , "<a name=\"start%d \" accesskey=\"j\" id=\"start\"></a>" , email -> msgnum );
1175
1175
pre = TRUE;
1176
1176
}
1177
1177
@@ -1496,8 +1496,8 @@ int print_links_up(FILE *fp, struct emailinfo *email, int pos, int in_thread_fil
1496
1496
1497
1497
fprintf (fp , "<li>\n" );
1498
1498
fprintf (fp , "<dfn>%s</dfn>:\n" , lang [MSG_THIS_MESSAGE ]);
1499
- fprintf (fp , "[ <a href=\"#start\" name=\"options1\" id=\"options1\" tabindex=\"1\">"
1500
- "%s</a> ]\n" , lang [MSG_MSG_BODY ]);
1499
+ fprintf (fp , "[ <a href=\"#start%d \" name=\"options1\" id=\"options1\" tabindex=\"1\">"
1500
+ "%s</a> ]\n" , email -> msgnum , lang [MSG_MSG_BODY ]);
1501
1501
if (set_mailcommand && set_hmail ) {
1502
1502
if ((email -> msgid && email -> msgid [0 ]) || (email -> subject && email -> subject [0 ])) {
1503
1503
ptr = makemailcommand (set_replymsg_command , set_hmail , email -> msgid ,
@@ -1638,8 +1638,8 @@ int print_links(FILE *fp, struct emailinfo *email, int pos, int in_thread_file)
1638
1638
** format for items: <li><dfn>Next</dfn>: <a href="0047.html"
1639
1639
title="wai thing">subject of message</a></li>\n */
1640
1640
1641
- fprintf (fp , "<li><dfn>%s</dfn>: [ <a href=\"#start\">%s</a> ]</li>\n" ,
1642
- lang [MSG_THIS_MESSAGE ], lang [MSG_MSG_BODY ]);
1641
+ fprintf (fp , "<li><dfn>%s</dfn>: [ <a href=\"#start%d \">%s</a> ]</li>\n" ,
1642
+ lang [MSG_THIS_MESSAGE ], email -> msgnum , lang [MSG_MSG_BODY ]);
1643
1643
1644
1644
printcomment (fp , "lnext" , "start" );
1645
1645
/*
0 commit comments