Fossil

Check-in [6d4e5d801e]
Login

Check-in [6d4e5d801e]

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

Overview
Comment:Fix build break when the TH1 docs feature is enabled.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6d4e5d801e5958ae30f3841d3edaec432c517e0a
User & Date: mistachkin 2014-10-21 03:23:59.410
Context
2014-10-22
12:52
Improved error message handling on the server side of "sync" requests. ... (check-in: bf3db3d16e user: drh tags: trunk)
2014-10-21
15:25
merge trunk ... (check-in: 44a160a341 user: jan.nijtmans tags: winsymlink)
09:27
merge trunk ... (check-in: 154abe4d47 user: baruch tags: svn-import)
03:40
Merge updates from trunk. ... (check-in: a4e0d959db user: mistachkin tags: better-error-msgs)
03:23
Fix build break when the TH1 docs feature is enabled. ... (check-in: 6d4e5d801e user: mistachkin tags: trunk)
03:19
Restore use of short string identifiers in titles on the check-in info page. ... (check-in: c1d20c33cf user: mistachkin tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/doc.c.
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
    style_footer();
#ifdef FOSSIL_ENABLE_TH1_DOCS
  }else if( db_get_boolean("th1-docs", 0) &&
            fossil_strcmp(zMime, "application/x-th1")==0 ){
    style_header("%h", zName);
    Th_Render(blob_str(&filebody));
    style_footer();
    fossil_free(zHtml);
#endif
  }else{
    cgi_set_content_type(zMime);
    cgi_set_content(&filebody);
  }
  return;








<







529
530
531
532
533
534
535

536
537
538
539
540
541
542
    style_footer();
#ifdef FOSSIL_ENABLE_TH1_DOCS
  }else if( db_get_boolean("th1-docs", 0) &&
            fossil_strcmp(zMime, "application/x-th1")==0 ){
    style_header("%h", zName);
    Th_Render(blob_str(&filebody));
    style_footer();

#endif
  }else{
    cgi_set_content_type(zMime);
    cgi_set_content(&filebody);
  }
  return;