Fossil SCM

Remove an unused function from the wiki formatter.

drh 2012-08-14 17:46 trunk
Commit b1cc5a4c12a6542326e27c74fa4e314ca1eda05f
1 file changed -7
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1767,17 +1767,10 @@
17671767
for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){}
17681768
}
17691769
return n;
17701770
}
17711771
1772
-/*
1773
-** Return true if z[] is the word zWord in any case.
1774
-*/
1775
-static int isWord(const char *z, const char *zWord, int nWord){
1776
- return fossil_strnicmp(z, zWord, nWord)==0 && !fossil_isalpha(z[nWord]);
1777
-}
1778
-
17791772
/*
17801773
** Attempt to reformat messy HTML to be easily readable by humans.
17811774
**
17821775
** * Try to keep lines less than 80 characters in length
17831776
** * Collapse white space into a single space
17841777
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1767,17 +1767,10 @@
1767 for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){}
1768 }
1769 return n;
1770 }
1771
1772 /*
1773 ** Return true if z[] is the word zWord in any case.
1774 */
1775 static int isWord(const char *z, const char *zWord, int nWord){
1776 return fossil_strnicmp(z, zWord, nWord)==0 && !fossil_isalpha(z[nWord]);
1777 }
1778
1779 /*
1780 ** Attempt to reformat messy HTML to be easily readable by humans.
1781 **
1782 ** * Try to keep lines less than 80 characters in length
1783 ** * Collapse white space into a single space
1784
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1767,17 +1767,10 @@
1767 for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){}
1768 }
1769 return n;
1770 }
1771
 
 
 
 
 
 
 
1772 /*
1773 ** Attempt to reformat messy HTML to be easily readable by humans.
1774 **
1775 ** * Try to keep lines less than 80 characters in length
1776 ** * Collapse white space into a single space
1777

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button