Fossil

Check-in [4887a1da84]
Login

Check-in [4887a1da84]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fixed ticket [5207b03861]: use correct type for index variable
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS
Files: files | file ages | folders
SHA1: 4887a1da8499400a7c674e6a5257693538059ce7
User & Date: wolfgang 2010-09-10 16:11:29.000
References
2010-09-10
20:58 New ticket [c6bc7f5e41] cvs2fossil broken due to missing "test-import-manifest" in current fossil. ... (artifact: ed0bbe4c1c user: anonymous)
Context
2010-09-10
20:19
fixed many HTML-validator errors and moved more formats to CSS - tested on firefox and IE ... (check-in: d1305d0a7a user: wolfgang tags: wolfgangFormat2CSS)
16:11
fixed ticket [5207b03861]: use correct type for index variable ... (check-in: 4887a1da84 user: wolfgang tags: wolfgangFormat2CSS)
2010-09-09
21:41
section css extended with 'white-space: nowrap;' to avoid validator errors. PLEASE update your local styles for the section class ... (check-in: 6436092e87 user: wolfgang tags: wolfgangFormat2CSS)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
  { "a.tagLink",             zATagLink               },
  { "span.tagDsp",           zSpanTagDsp             },
  { "span.wikiError",        zSpanWikiError          },
  { 0,                       0                       }
};

void cgi_append_default_css(void) {
  enum cssDefaultItems i;

  for (i=0;cssDefaultList[i].name;i++)
    cgi_printf(cssDefaultList[i].value);
}

/*
** WEBPAGE: style.css
*/
void page_style_css(void){
  const char *zCSS    = 0;
  const char *zCSSdef = 0;
  enum cssDefaultItems i;

  cgi_set_content_type("text/css");
  zCSS = db_get("css",(char*)zDefaultCSS);
  /* append user defined css */
  cgi_append_content(zCSS, -1);
  /* add special missing definitions */
  for (i=1;cssDefaultList[i].name;i++)







|











|







514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
  { "a.tagLink",             zATagLink               },
  { "span.tagDsp",           zSpanTagDsp             },
  { "span.wikiError",        zSpanWikiError          },
  { 0,                       0                       }
};

void cgi_append_default_css(void) {
  int i;

  for (i=0;cssDefaultList[i].name;i++)
    cgi_printf(cssDefaultList[i].value);
}

/*
** WEBPAGE: style.css
*/
void page_style_css(void){
  const char *zCSS    = 0;
  const char *zCSSdef = 0;
  int i;

  cgi_set_content_type("text/css");
  zCSS = db_get("css",(char*)zDefaultCSS);
  /* append user defined css */
  cgi_append_content(zCSS, -1);
  /* add special missing definitions */
  for (i=1;cssDefaultList[i].name;i++)