Fossil

Check-in [b1cc5a4c]
Login

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

Overview
Comment:Remove an unused function from the wiki formatter.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b1cc5a4c12a6542326e27c74fa4e314ca1eda05f
User & Date: drh 2012-08-14 17:46:00.005
Context
2012-08-17
18:14
Fixed a number of "the the" duplications in comments, documentation, and HTML (templates). Left the 17 occurences of same in sqlite.c alone. ... (check-in: b00e462f user: andreask tags: trunk)
2012-08-14
17:46
Remove an unused function from the wiki formatter. ... (check-in: b1cc5a4c user: drh tags: trunk)
17:42
Update the built-in SQLite to the latest 3.7.14 beta. Fossil does not need this upgrade - the purpose is to test SQLite. ... (check-in: 1f4af61f user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/wikiformat.c.
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
    for(n=1; z[n] && fossil_isspace(z[n]); n++){}
  }else{
    for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){}
  }
  return n;
}

/*
** Return true if z[] is the word zWord in any case.
*/
static int isWord(const char *z, const char *zWord, int nWord){
  return fossil_strnicmp(z, zWord, nWord)==0 && !fossil_isalpha(z[nWord]);
}

/*
** Attempt to reformat messy HTML to be easily readable by humans.
**
**    *  Try to keep lines less than 80 characters in length
**    *  Collapse white space into a single space
**    *  Put a blank line before:
**          <blockquote><center><code><hN><p><pre><table>







<
<
<
<
<
<
<







1765
1766
1767
1768
1769
1770
1771







1772
1773
1774
1775
1776
1777
1778
    for(n=1; z[n] && fossil_isspace(z[n]); n++){}
  }else{
    for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){}
  }
  return n;
}








/*
** Attempt to reformat messy HTML to be easily readable by humans.
**
**    *  Try to keep lines less than 80 characters in length
**    *  Collapse white space into a single space
**    *  Put a blank line before:
**          <blockquote><center><code><hN><p><pre><table>