Fossil SCM

Fix a typo in a comment.

drh 2023-08-05 16:55 trunk
Commit 19e6905cd218ac9834c137e1a475c66349864de076cf37a9867d3924ff8c6cc6
1 file changed +1 -1
+1 -1
--- src/encode.c
+++ src/encode.c
@@ -212,11 +212,11 @@
212212
char *urlize(const char *z, int n){
213213
return EncodeHttp(z, n, 0);
214214
}
215215
216216
/*
217
-** If input string does not contain quotes (niether ' nor ")
217
+** If input string does not contain quotes (neither ' nor ")
218218
** then return the argument itself. Otherwise return a newly allocated
219219
** copy of input with all quotes %-escaped.
220220
*/
221221
const char* escape_quotes(const char *zIn){
222222
char *zRet, *zOut;
223223
--- src/encode.c
+++ src/encode.c
@@ -212,11 +212,11 @@
212 char *urlize(const char *z, int n){
213 return EncodeHttp(z, n, 0);
214 }
215
216 /*
217 ** If input string does not contain quotes (niether ' nor ")
218 ** then return the argument itself. Otherwise return a newly allocated
219 ** copy of input with all quotes %-escaped.
220 */
221 const char* escape_quotes(const char *zIn){
222 char *zRet, *zOut;
223
--- src/encode.c
+++ src/encode.c
@@ -212,11 +212,11 @@
212 char *urlize(const char *z, int n){
213 return EncodeHttp(z, n, 0);
214 }
215
216 /*
217 ** If input string does not contain quotes (neither ' nor ")
218 ** then return the argument itself. Otherwise return a newly allocated
219 ** copy of input with all quotes %-escaped.
220 */
221 const char* escape_quotes(const char *zIn){
222 char *zRet, *zOut;
223

Keyboard Shortcuts

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