/[packages]/cauldron/lynx/current/SOURCES/lynx2-8-6-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/lynx/current/SOURCES/lynx2-8-6-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 626 - (show annotations) (download)
Sat Jan 8 14:30:35 2011 UTC (13 years, 2 months ago) by blino
File size: 899 byte(s)
imported package lynx
1 --- src/HTML.c 2005-12-18 23:52:30.000000000 +0100
2 +++ src/HTML.c.oden 2008-12-21 18:59:22.000000000 +0100
3 @@ -2667,13 +2667,13 @@ static int HTML_start_element(HTStructur
4 }
5 }
6 if (seqtype == 'A') {
7 - sprintf(number_string, LYUppercaseA_OL_String(seqnum));
8 + sprintf(number_string, "%s", LYUppercaseA_OL_String(seqnum));
9 } else if (seqtype == 'a') {
10 - sprintf(number_string, LYLowercaseA_OL_String(seqnum));
11 + sprintf(number_string, "%s", LYLowercaseA_OL_String(seqnum));
12 } else if (seqtype == 'I') {
13 - sprintf(number_string, LYUppercaseI_OL_String(seqnum));
14 + sprintf(number_string, "%s", LYUppercaseI_OL_String(seqnum));
15 } else if (seqtype == 'i') {
16 - sprintf(number_string, LYLowercaseI_OL_String(seqnum));
17 + sprintf(number_string, "%s", LYLowercaseI_OL_String(seqnum));
18 } else {
19 sprintf(number_string, "%2d.", seqnum);
20 }

  ViewVC Help
Powered by ViewVC 1.1.30